home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Super Models
/
Hot Super Models.iso
/
mac
/
clrmg131.sit
/
ColorImage 1.31.rsrc
/
bin.rsrc_CODE_5.txt
< prev
next >
Wrap
Text File
|
1990-12-05
|
283KB
|
4,905 lines
# near model CODE resource
# jump table entries: 1512-1541 (30 of them)
fn00000000:
00000000 4E56 FEF0 link A6, -0x0110
00000004 3F2E 000E move.w -[A7], [A6 + 0xE]
00000008 3F2E 000C move.w -[A7], [A6 + 0xC]
0000000C A893 syscall MoveTo
0000000E 700A moveq.l D0, 0x0A
00000010 B0AE 0008 cmp.l D0, [A6 + 0x8]
00000014 6F06 ble +0x8 /* 0000001C */
00000016 487A 0034 pea.l [PC + 0x34 /* 0000004C, value 0x1304E56 */]
0000001A A884 syscall DrawString
label0000001C:
0000001C 7064 moveq.l D0, 0x64
0000001E B0AE 0008 cmp.l D0, [A6 + 0x8]
00000022 6F06 ble +0x8 /* 0000002A */
00000024 487A 0024 pea.l [PC + 0x24 /* 0000004A, value 0x1300130 */]
00000028 A884 syscall DrawString
label0000002A:
0000002A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000002E 486E FEF0 pea.l [A6 - 0x110]
00000032 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00000036 486E FEF0 pea.l [A6 - 0x110]
0000003A A884 syscall DrawString
0000003C 4E5E unlink A6
0000003E 4E74 0008 rtd 0x0008
00000042 4452 neg.w [A2]
00000044 4157 chk.w D0, [A7]
00000046 4E55 4D20 link A5, -0xFFFFB2E0
0000004A 0130 0130 4E56 FECC btst [A0 + 0x4E56FECC + D0], D0
// begin alternate branch 0000004E-00000052
fn0000004E:
0000004E 4E56 FECC link A6, -0x0134
// end alternate branch 0000004E-00000052
fn0000004E: // (misaligned)
00000052 F227 E0C0 .fmovem 0xF227, 0xE0C0 // unimplemented
00000056 4A2D A672 tst.b [A5 - 0x598E]
0000005A 670E beq +0x10 /* 0000006A */
0000005C F22D 4B00 A652 fmove fp6, (extended) [A5 - 0x59AE]
00000062 F22D 4B80 A646 fmove fp7, (extended) [A5 - 0x59BA]
00000068 600C bra +0xE /* 00000076 */
label0000006A:
0000006A F22D 4B00 A646 fmove fp6, (extended) [A5 - 0x59BA]
00000070 F22D 4B80 A652 fmove fp7, (extended) [A5 - 0x59AE]
label00000076:
00000076 206D 95CA movea.l A0, [A5 - 0x6A36]
0000007A 4A28 0A1A tst.b [A0 + 0xA1A]
0000007E 6700 00AA beq +0xAC /* 0000012A */
00000082 3F3C 0001 move.w -[A7], 0x1
00000086 302D A644 move.w D0, [A5 - 0x59BC]
0000008A 906D DA0E sub.w D0, [A5 - 0x25F2]
0000008E 3F00 move.w -[A7], D0
00000090 A893 syscall MoveTo
00000092 F200 1818 fabs fp0, fp6
00000096 F23C 4838 4008 0000 FA00 0000 0000 0000 fcmp fp0, (extended) (extended)0x40080000FA00000000000000
000000A6 F28C 0018 .extension 0x28C <<F/2-3/1>> // unimplemented
000000AA F22E 6B00 FECC fmove (extended) [A6 - 0x134], fp6
000000B0 486E FECC pea.l [A6 - 0x134]
000000B4 3F3C 0001 move.w -[A7], 0x1
000000B8 4267 clr.w -[A7]
000000BA 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000000BE 6016 bra +0x18 /* 000000D6 */
000000C0 F22E 6B00 FECC fmove (extended) [A6 - 0x134], fp6
000000C6 486E FECC pea.l [A6 - 0x134]
000000CA 3F3C 0001 move.w -[A7], 0x1
000000CE 3F3C 0002 move.w -[A7], 0x2
000000D2 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label000000D6:
000000D6 3F3C 0001 move.w -[A7], 0x1
000000DA 302D DA0C move.w D0, [A5 - 0x25F4]
000000DE 5040 addq.w D0, 8
000000E0 3F00 move.w -[A7], D0
000000E2 A893 syscall MoveTo
000000E4 F200 1C18 .fmovecr 0xF200, 0x1C18 // unimplemented
000000E8 F23C 4838 4008 0000 FA00 0000 0000 0000 fcmp fp0, (extended) (extended)0x40080000FA00000000000000
000000F8 F28C 0018 .extension 0x28C <<F/2-3/1>> // unimplemented
000000FC F22E 6B80 FECC fmove (extended) [A6 - 0x134], fp7
00000102 486E FECC pea.l [A6 - 0x134]
00000106 3F3C 0001 move.w -[A7], 0x1
0000010A 4267 clr.w -[A7]
0000010C 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00000110 605A bra +0x5C /* 0000016C */
00000112 F22E 6B80 FECC fmove (extended) [A6 - 0x134], fp7
00000118 486E FECC pea.l [A6 - 0x134]
0000011C 3F3C 0001 move.w -[A7], 0x1
00000120 3F3C 0002 move.w -[A7], 0x2
00000124 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00000128 6042 bra +0x44 /* 0000016C */
label0000012A:
0000012A 3F3C 0002 move.w -[A7], 0x2
0000012E 302D A644 move.w D0, [A5 - 0x59BC]
00000132 906D DA0E sub.w D0, [A5 - 0x25F2]
00000136 3F00 move.w -[A7], D0
00000138 594F subq.w A7, 4
0000013A F22E 6B00 FECC fmove (extended) [A6 - 0x134], fp6
00000140 486E FECC pea.l [A6 - 0x134]
00000144 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000148 4EBA FEB6 jsr [PC - 0x14A /* 00000000 */]
0000014C 3F3C 0002 move.w -[A7], 0x2
00000150 302D DA0C move.w D0, [A5 - 0x25F4]
00000154 5040 addq.w D0, 8
00000156 3F00 move.w -[A7], D0
00000158 594F subq.w A7, 4
0000015A F22E 6B80 FECC fmove (extended) [A6 - 0x134], fp7
00000160 486E FECC pea.l [A6 - 0x134]
00000164 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000168 4EBA FE96 jsr [PC - 0x16A /* 00000000 */]
label0000016C:
0000016C 302D DA0A move.w D0, [A5 - 0x25F6]
00000170 0640 000F addi.w D0, 0xF
00000174 3F00 move.w -[A7], D0
00000176 302D A644 move.w D0, [A5 - 0x59BC]
0000017A 906D DA0E sub.w D0, [A5 - 0x25F2]
0000017E 0640 000C addi.w D0, 0xC
00000182 3F00 move.w -[A7], D0
00000184 A893 syscall MoveTo
00000186 487A 00D6 pea.l [PC + 0xD6 /* 0000025E, value 0x24E3D16, pstring "N=" */]
0000018A A884 syscall DrawString
0000018C 302D A65E move.w D0, [A5 - 0x59A2]
00000190 48C0 ext.l D0
00000192 2F00 move.l -[A7], D0
00000194 486E FEF0 pea.l [A6 - 0x110]
00000198 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
0000019C 486E FEF0 pea.l [A6 - 0x110]
000001A0 A884 syscall DrawString
000001A2 487A 00AE pea.l [PC + 0xAE /* 00000252, value 0xA202020 '\n ', pstring " Mean=" */]
000001A6 A884 syscall DrawString
000001A8 486D A666 pea.l [A5 - 0x599A]
000001AC 3F3C 0003 move.w -[A7], 0x3
000001B0 3F3C 0002 move.w -[A7], 0x2
000001B4 486E FEF0 pea.l [A6 - 0x110]
000001B8 4EAD 08C2 jsr [A5 + 0x8C2 /* export_276 */]
000001BC 486E FEF0 pea.l [A6 - 0x110]
000001C0 A884 syscall DrawString
000001C2 0C6D 0001 A660 cmpi.w [A5 - 0x59A0], 0x1
000001C8 6F1C ble +0x1E /* 000001E6 */
000001CA 487A 007A pea.l [PC + 0x7A /* 00000246, value 0xA202020 '\n ', pstring " Width=" */]
000001CE A884 syscall DrawString
000001D0 302D A660 move.w D0, [A5 - 0x59A0]
000001D4 48C0 ext.l D0
000001D6 2F00 move.l -[A7], D0
000001D8 486E FEF0 pea.l [A6 - 0x110]
000001DC 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
000001E0 486E FEF0 pea.l [A6 - 0x110]
000001E4 A884 syscall DrawString
label000001E6:
000001E6 487A 0058 pea.l [PC + 0x58 /* 00000240, value 0x4202020, pstring " " */]
000001EA A884 syscall DrawString
000001EC 206D 95CA movea.l A0, [A5 - 0x6A36]
000001F0 4A28 0A1A tst.b [A0 + 0xA1A]
000001F4 6718 beq +0x1A /* 0000020E */
000001F6 487A 003C pea.l [PC + 0x3C /* 00000234, value 0xB43616C, pstring "Calibrated(" */]
000001FA A884 syscall DrawString
000001FC 206D 95CA movea.l A0, [A5 - 0x6A36]
00000200 4868 09C0 pea.l [A0 + 0x9C0]
00000204 A884 syscall DrawString
00000206 487A 002A pea.l [PC + 0x2A /* 00000232, value 0x1290B43 */]
0000020A A884 syscall DrawString
0000020C 6006 bra +0x8 /* 00000214 */
label0000020E:
0000020E 487A 0014 pea.l [PC + 0x14 /* 00000224, value 0xC556E63, pstring "Uncalibrated" */]
00000212 A884 syscall DrawString
label00000214:
00000214 F21F D003 .fmovem 0xF21F, 0xD003 // unimplemented
00000218 4E5E unlink A6
0000021A 4E75 rts
0000021C 4C41 4245 movem.l D0,D2,D6,A1,A6, D1
00000220 4C50 524F movem.l D0,D1,D2,D3,D6,A1,A4,A6, [A0]
00000224 0C55 6E63 cmpi.w [A5], 0x6E63 /* 'nc' */
00000228 616C bsr +0x6E /* 00000296 */
0000022A 6962 bvs +0x64 /* 0000028E */
0000022C 7261 moveq.l D1, 0x61
0000022E 7465 moveq.l D2, 0x65
00000230 6416 bcc +0x18 /* 00000248 */
00000232 0129 0B43 btst [A1 + 0xB43], D0
00000236 616C bsr +0x6E /* 000002A4 */
00000238 6962 bvs +0x64 /* 0000029C */
0000023A 7261 moveq.l D1, 0x61
0000023C 7465 moveq.l D2, 0x65
0000023E 6428 bcc +0x2A /* 00000268 */
00000240 0420 2020 subi.b -[A0], 0x20 /* ' ' */
00000244 2016 move.l D0, [A6]
00000246 0A20 2020 xori.b -[A0], 0x20 /* ' ' */
// begin alternate branch 00000248-0000024A
label00000248:
00000248 2020 move.l D0, -[A0]
// end alternate branch 00000248-0000024A
label00000248: // (misaligned)
0000024A 2057 movea.l A0, [A7]
0000024C 6964 bvs +0x66 /* 000002B2 */
0000024E 7468 moveq.l D2, 0x68
00000250 3D16 move.w -[A6], [A6]
00000252 0A20 2020 xori.b -[A0], 0x20 /* ' ' */
00000256 2020 move.l D0, -[A0]
00000258 4D65 chk.w D6, -[A5]
0000025A 616E bsr +0x70 /* 000002CA */
0000025C 3D16 move.w -[A6], [A6]
0000025E 024E 3D16 andi.w A6, 0x3D16
fn00000262:
00000262 4E56 FFD4 link A6, -0x002C
00000266 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
// begin alternate branch 00000268-0000026A
label00000268:
00000268 0F08 btst A0, D7
// end alternate branch 00000268-0000026A
label00000268: // (misaligned)
0000026A 382D A644 move.w D4, [A5 - 0x59BC]
0000026E 986D DA0E sub.w D4, [A5 - 0x25F2]
00000272 3F3C 0002 move.w -[A7], 0x2
00000276 302D DA0C move.w D0, [A5 - 0x25F4]
0000027A 5840 addq.w D0, 4
0000027C 3F00 move.w -[A7], D0
0000027E A893 syscall MoveTo
00000280 486D D9E6 pea.l [A5 - 0x261A]
00000284 3F3C 0004 move.w -[A7], 0x4
00000288 3F3C 0002 move.w -[A7], 0x2
0000028C 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
// begin alternate branch 0000028E-00000296
label0000028E:
0000028E 08CA 3F3C bset.b A2, 0x3C /* '<' */
00000292 0002 3F04 ori.b D2, 0x4
// end alternate branch 0000028E-00000296
label0000028E: // (misaligned)
00000290 3F3C 0002 move.w -[A7], 0x2
00000294 3F04 move.w -[A7], D4
fn00000296:
00000296 A893 syscall MoveTo
00000298 486D D9DA pea.l [A5 - 0x2626]
label0000029C:
0000029C 3F3C 0004 move.w -[A7], 0x4
000002A0 3F3C 0002 move.w -[A7], 0x2
fn000002A4:
000002A4 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000002A8 302D DA0A move.w D0, [A5 - 0x25F6]
000002AC 5740 subq.w D0, 3
000002AE 3F00 move.w -[A7], D0
000002B0 3004 move.w D0, D4
label000002B2:
000002B2 0640 000A addi.w D0, 0xA /* '\n' */
000002B6 3F00 move.w -[A7], D0
000002B8 A893 syscall MoveTo
000002BA 487A 021C pea.l [PC + 0x21C /* 000004D8, value 0x1304E56 */]
000002BE A884 syscall DrawString
000002C0 302D A642 move.w D0, [A5 - 0x59BE]
000002C4 906D DA10 sub.w D0, [A5 - 0x25F0]
000002C8 0640 FFF2 addi.w D0, 0xFFF2
// begin alternate branch 000002CA-000002CC
fn000002CA:
000002CA FFF2 .invalid <<F/7/7>>
// end alternate branch 000002CA-000002CC
fn000002CA: // (misaligned)
000002CC 3F00 move.w -[A7], D0
000002CE 3004 move.w D0, D4
000002D0 0640 000A addi.w D0, 0xA /* '\n' */
000002D4 3F00 move.w -[A7], D0
000002D6 A893 syscall MoveTo
000002D8 487A 01FA pea.l [PC + 0x1FA /* 000004D4, value 0x3323535, pstring "255" */]
000002DC A884 syscall DrawString
000002DE 302D DA0A move.w D0, [A5 - 0x25F6]
000002E2 0640 000F addi.w D0, 0xF
000002E6 3F00 move.w -[A7], D0
000002E8 302D DA0C move.w D0, [A5 - 0x25F4]
000002EC 0640 000F addi.w D0, 0xF
000002F0 3F00 move.w -[A7], D0
000002F2 A893 syscall MoveTo
000002F4 3F3C 000C move.w -[A7], 0xC
000002F8 A88A syscall TextSize
000002FA 206D 95CA movea.l A0, [A5 - 0x6A36]
000002FE 1028 09E6 move.b D0, [A0 + 0x9E6]
00000302 6040 bra +0x42 /* 00000344 */
00000304 487A 01C6 pea.l [PC + 0x1C6 /* 000004CC, value 0x6793D61, pstring "y=a+bx" */]
00000308 A884 syscall DrawString
0000030A 605C bra +0x5E /* 00000368 */
0000030C 487A 01B2 pea.l [PC + 0x1B2 /* 000004C0, value 0xB793D61, pstring "y=a+bx+cx^2" */]
00000310 A884 syscall DrawString
00000312 6054 bra +0x56 /* 00000368 */
00000314 487A 0198 pea.l [PC + 0x198 /* 000004AE, value 0x10793D61, pstring "y=a+bx+cx^2+dx^3" */]
00000318 A884 syscall DrawString
0000031A 604C bra +0x4E /* 00000368 */
0000031C 487A 017A pea.l [PC + 0x17A /* 00000498, value 0x15793D61, pstring "y=a+bx+cx^2+dx^3+ex^4" */]
00000320 A884 syscall DrawString
00000322 6044 bra +0x46 /* 00000368 */
00000324 487A 0156 pea.l [PC + 0x156 /* 0000047C, value 0x1A793D61, pstring "y=a+bx+cx^2+dx^3+ex^4+fx^5" */]
00000328 A884 syscall DrawString
0000032A 603C bra +0x3E /* 00000368 */
0000032C 487A 0142 pea.l [PC + 0x142 /* 00000470, value 0xA793D61 '\ny=a', pstring "y=aexp(bx)" */]
00000330 A884 syscall DrawString
00000332 6034 bra +0x36 /* 00000368 */
00000334 487A 0132 pea.l [PC + 0x132 /* 00000468, value 0x6793D61, pstring "y=ax^b" */]
00000338 A884 syscall DrawString
0000033A 602C bra +0x2E /* 00000368 */
0000033C 487A 0120 pea.l [PC + 0x120 /* 0000045E, value 0x9793D61 '\ty=a', pstring "y=aln(bx)" */]
00000340 A884 syscall DrawString
00000342 6024 bra +0x26 /* 00000368 */
label00000344:
00000344 0240 00FF andi.w D0, 0xFF
00000348 0C40 0008 cmpi.w D0, 0x8
0000034C 641A bcc +0x1C /* 00000368 */
0000034E D040 add.w D0, D0
00000350 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000354 4EFB 0002 jmp [PC + D0.w + 0x2]
00000358 FFAC .invalid <<F/6/7>>
0000035A FFB4 .invalid <<F/6/7>>
0000035C FFBC .invalid <<F/6/7>>
0000035E FFC4 .invalid <<F/7/7>>
00000360 FFCC .invalid <<F/7/7>>
00000362 FFD4 .invalid <<F/7/7>>
00000364 FFDC .invalid <<F/7/7>>
00000366 FFE4 .invalid <<F/7/7>>
label00000368:
00000368 3A2D A642 move.w D5, [A5 - 0x59BE]
0000036C 9A6D DA10 sub.w D5, [A5 - 0x25F0]
00000370 5A45 addq.w D5, 5
00000372 3E2D DA0C move.w D7, [A5 - 0x25F4]
00000376 0647 0019 addi.w D7, 0x19
0000037A 41FA 00DC lea.l A0, [PC + 0xDC /* 00000458, value 0x61626364 'abcd' */]
0000037E 43EE FFE2 lea.l A1, [A6 - 0x1E]
00000382 22D8 move.l [A1]+, [A0]+
00000384 32D8 move.w [A1]+, [A0]+
00000386 3F05 move.w -[A7], D5
00000388 3F07 move.w -[A7], D7
0000038A A893 syscall MoveTo
0000038C 286D 95CA movea.l A4, [A5 - 0x6A36]
00000390 3D6C 09E8 FFE0 move.w [A6 - 0x20], [A4 + 0x9E8]
00000396 7C01 moveq.l D6, 0x01
00000398 605A bra +0x5C /* 000003F4 */
label0000039A:
0000039A 3F05 move.w -[A7], D5
0000039C 3F07 move.w -[A7], D7
0000039E A893 syscall MoveTo
000003A0 3F3C 000C move.w -[A7], 0xC
000003A4 A88A syscall TextSize
000003A6 7000 moveq.l D0, 0x00
000003A8 1036 60E1 move.b D0, [A6 + D6.w - 0x31]
000003AC 323C 0100 move.w D1, 0x100
000003B0 1200 move.b D1, D0
000003B2 3D41 FFDE move.w [A6 - 0x22], D1
000003B6 486E FFDE pea.l [A6 - 0x22]
000003BA A884 syscall DrawString
000003BC 487A 0098 pea.l [PC + 0x98 /* 00000456, value 0x13D6162 */]
000003C0 A884 syscall DrawString
000003C2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000003C6 A88A syscall TextSize
000003C8 3006 move.w D0, D6
000003CA E740 asl D0.w, 3
000003CC 0640 09E2 addi.w D0, 0x9E2
000003D0 F234 5400 0000 fmove fp0, (double) [A4 + D0.w]
000003D6 F22E 6800 FFD4 fmove (extended) [A6 - 0x2C], fp0
000003DC 486E FFD4 pea.l [A6 - 0x2C]
000003E0 3F3C 0001 move.w -[A7], 0x1
000003E4 3F3C 0008 move.w -[A7], 0x8
000003E8 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000003EC 0647 000F addi.w D7, 0xF
000003F0 5246 addq.w D6, 1
000003F2 6906 bvs +0x8 /* 000003FA */
label000003F4:
000003F4 BC6E FFE0 cmp.w D6, [A6 - 0x20]
000003F8 6FA0 ble -0x5E /* 0000039A */
label000003FA:
000003FA 0647 0019 addi.w D7, 0x19
000003FE 3F05 move.w -[A7], D5
00000400 3F07 move.w -[A7], D7
00000402 A893 syscall MoveTo
00000404 487A 004A pea.l [PC + 0x4A /* 00000450, value 0x5532E44, pstring "S.D.=" */]
00000408 A884 syscall DrawString
0000040A 486D D9FE pea.l [A5 - 0x2602]
0000040E 3F3C 0001 move.w -[A7], 0x1
00000412 3F3C 0004 move.w -[A7], 0x4
00000416 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000041A 0647 000F addi.w D7, 0xF
0000041E 3F05 move.w -[A7], D5
00000420 3F07 move.w -[A7], D7
00000422 A893 syscall MoveTo
00000424 487A 0024 pea.l [PC + 0x24 /* 0000044A, value 0x4525E32, pstring "R^2=" */]
00000428 A884 syscall DrawString
0000042A 486D D9F2 pea.l [A5 - 0x260E]
0000042E 3F3C 0001 move.w -[A7], 0x1
00000432 3F3C 0004 move.w -[A7], 0x4
00000436 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000043A 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
0000043E 4E5E unlink A6
00000440 4E75 rts
00000442 4C41 4245 movem.l D0,D2,D6,A1,A6, D1
00000446 4C43 414C movem.l D2,D3,D6,A0,A6, D3
0000044A 0452 5E32 subi.w [A2], 0x5E32 /* '^2' */
0000044E 3D16 move.w -[A6], [A6]
00000450 0553 bchg [A3], D2
00000452 2E44 movea.l A7, D4
00000454 2E3D move.l D7, <<invalid special address>>
00000456 013D btst <<invalid special address>>, D0
00000458 6162 bsr +0x64 /* 000004BC */
0000045A 6364 bls +0x66 /* 000004C0 */
0000045C 6566 bcs +0x68 /* 000004C4 */
0000045E 0979 3D61 6C6E bchg [0x3D616C6E], D4
00000464 2862 movea.l A4, -[A2]
00000466 7829 moveq.l D4, 0x29
00000468 0679 3D61 785E 6216 addi.w [0x785E6216], 0x3D61 /* '=a' */
00000470 0A79 3D61 6578 7028 xori.w [0x65787028], 0x3D61 /* '=a' */
00000478 6278 bhi +0x7A /* 000004F2 */
0000047A 2916 move.l -[A4], [A6]
0000047C 1A79 3D61 2B62 movea.b A5, [0x3D612B62]
00000482 782B moveq.l D4, 0x2B
00000484 6378 bls +0x7A /* 000004FE */
00000486 5E32 2B64 addq.b <<invalid full ext with I/IS == 4>>, 7
0000048A 785E moveq.l D4, 0x5E
0000048C 332B 6578 move.w -[A1], [A3 + 0x6578]
00000490 5E34 2B66 addq.b <<invalid full ext with IS == 1 and I/IS == 6>>, 7
00000494 785E moveq.l D4, 0x5E
00000496 3516 move.w -[A2], [A6]
00000498 1579 3D61 2B62 782B move.b [A2 + 0x782B], [0x3D612B62]
000004A0 6378 bls +0x7A /* 0000051A */
000004A2 5E32 2B64 addq.b <<invalid full ext with I/IS == 4>>, 7
000004A6 785E moveq.l D4, 0x5E
000004A8 332B 6578 move.w -[A1], [A3 + 0x6578]
000004AC 5E34 1079 addq.b [A4 + D1.w + 0x79], 7
000004B0 3D61 2B62 move.w [A6 + 0x2B62], -[A1]
000004B4 782B moveq.l D4, 0x2B
000004B6 6378 bls +0x7A /* 00000530 */
000004B8 5E32 2B64 addq.b <<invalid full ext with I/IS == 4>>, 7
fn000004BC:
000004BC 785E moveq.l D4, 0x5E
000004BE 3316 move.w -[A1], [A6]
label000004C0:
000004C0 0B79 3D61 2B62 bchg [0x3D612B62], D5
// begin alternate branch 000004C4-000004C8
label000004C4:
000004C4 2B62 782B move.l [A5 + 0x782B], -[A2]
// end alternate branch 000004C4-000004C8
label000004C4: // (misaligned)
000004C6 782B moveq.l D4, 0x2B
000004C8 6378 bls +0x7A /* 00000542 */
000004CA 5E32 0679 addq.b [A2 + D0.w * 8 + 0x79], 7
000004CE 3D61 2B62 move.w [A6 + 0x2B62], -[A1]
000004D2 7816 moveq.l D4, 0x16
000004D4 0332 3535 0130 4E56 btst [[A2 + 0x1304E56] + D3 * 4], D1
// begin alternate branch 000004DA-000004DE
export_189:
fn000004DA:
000004DA 4E56 FFE0 link A6, -0x0020
// end alternate branch 000004DA-000004DE
export_189: // at 000004DA (misaligned)
fn000004DA: // (misaligned)
000004DC FFE0 .invalid <<F/7/7>>
000004DE 486E FFE8 pea.l [A6 - 0x18]
000004E2 3F2D DA0A move.w -[A7], [A5 - 0x25F6]
000004E6 3F2D DA0C move.w -[A7], [A5 - 0x25F4]
000004EA 302D A642 move.w D0, [A5 - 0x59BE]
000004EE 906D DA10 sub.w D0, [A5 - 0x25F0]
label000004F2:
000004F2 3F00 move.w -[A7], D0
000004F4 302D A644 move.w D0, [A5 - 0x59BC]
000004F8 906D DA0E sub.w D0, [A5 - 0x25F2]
000004FC 3F00 move.w -[A7], D0
label000004FE:
000004FE A8A7 syscall SetRect
00000500 A89E syscall PenNormal
00000502 486E FFE8 pea.l [A6 - 0x18]
00000506 A8A1 syscall FrameRect
00000508 2F2D A63A move.l -[A7], [A5 - 0x59C6]
0000050C 486E FFE8 pea.l [A6 - 0x18]
00000510 A8F6 syscall DrawPicture
00000512 3F3C 0001 move.w -[A7], 0x1
00000516 A887 syscall TextFont
00000518 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
// begin alternate branch 0000051A-0000051E
label0000051A:
0000051A 0009 A88A ori.b A1, 0x8A
// end alternate branch 0000051A-0000051E
label0000051A: // (misaligned)
0000051C A88A syscall TextSize
0000051E 206D 9344 movea.l A0, [A5 - 0x6CBC]
00000522 0C68 005A 006C cmpi.w [A0 + 0x6C], 0x5A /* 'Z' */
00000528 660C bne +0xE /* 00000536 */
0000052A 4A2D A675 tst.b [A5 - 0x598B]
0000052E 670A beq +0xC /* 0000053A */
label00000530:
00000530 4EBA FB1C jsr [PC - 0x4E4 /* 0000004E */]
00000534 6004 bra +0x6 /* 0000053A */
label00000536:
00000536 4EBA FD2A jsr [PC - 0x2D6 /* 00000262 */]
label0000053A:
0000053A 4E5E unlink A6
0000053C 4E75 rts
0000053E 4452 neg.w [A2]
00000540 4157 chk.w D0, [A7]
label00000542:
00000542 504C addq.w A4, 8
00000544 4F54 chk.w D7, [A4]
export_190:
00000546 4E56 FFE4 link A6, -0x001C
0000054A 486E FFEC pea.l [A6 - 0x14]
0000054E A874 syscall GetPort
00000550 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000554 A873 syscall SetPort
00000556 206D 9344 movea.l A0, [A5 - 0x6CBC]
0000055A 4868 0010 pea.l [A0 + 0x10]
0000055E A8A3 syscall EraseRect
00000560 4EBA FF78 jsr [PC - 0x88 /* 000004DA */]
00000564 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000568 4EAD 0B6A jsr [A5 + 0xB6A /* export_361 */]
0000056C 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000570 A873 syscall SetPort
00000572 4E5E unlink A6
00000574 4E75 rts
00000576 5550 subq.w [A0], 2
00000578 4441 neg.w D1
0000057A 5445 addq.w D5, 2
0000057C 504C addq.w A4, 8
export_191:
fn0000057E:
0000057E 4E56 FFCE link A6, -0x0032
00000582 2F07 move.l -[A7], D7
00000584 4AAD 9344 tst.l [A5 - 0x6CBC]
00000588 6644 bne +0x46 /* 000005CE */
0000058A 486E FFE8 pea.l [A6 - 0x18]
0000058E 3F2E 000E move.w -[A7], [A6 + 0xE]
00000592 3F2E 000C move.w -[A7], [A6 + 0xC]
00000596 302E 000E move.w D0, [A6 + 0xE]
0000059A D06E 000A add.w D0, [A6 + 0xA]
0000059E 3F00 move.w -[A7], D0
000005A0 302E 000C move.w D0, [A6 + 0xC]
000005A4 D06E 0008 add.w D0, [A6 + 0x8]
000005A8 3F00 move.w -[A7], D0
000005AA A8A7 syscall SetRect
000005AC 594F subq.w A7, 4
000005AE 42A7 clr.l -[A7]
000005B0 486E FFE8 pea.l [A6 - 0x18]
000005B4 487A 007A pea.l [PC + 0x7A /* 00000630, value 0x4506C6F, pstring "Plot" */]
000005B8 1F3C 0001 move.b -[A7], 0x1
000005BC 4267 clr.w -[A7]
000005BE 42A7 clr.l -[A7]
000005C0 1F3C 0001 move.b -[A7], 0x1
000005C4 42A7 clr.l -[A7]
000005C6 A913 syscall NewWindow
000005C8 2B5F 9344 move.l [A5 - 0x6CBC], [A7]+
000005CC 6052 bra +0x54 /* 00000620 */
label000005CE:
000005CE 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
000005D2 486E FFE0 pea.l [A6 - 0x20]
000005D6 4EAD 0892 jsr [A5 + 0x892 /* export_270 */]
000005DA 206D 95CA movea.l A0, [A5 - 0x6A36]
000005DE 2F28 009E move.l -[A7], [A0 + 0x9E]
000005E2 486E FFD8 pea.l [A6 - 0x28]
000005E6 4EAD 0892 jsr [A5 + 0x892 /* export_270 */]
000005EA 554F subq.w A7, 2
000005EC 486E FFE0 pea.l [A6 - 0x20]
000005F0 486E FFD8 pea.l [A6 - 0x28]
000005F4 486E FFD0 pea.l [A6 - 0x30]
000005F8 A8AA syscall SectRect
000005FA 1E1F move.b D7, [A7]+
000005FC 4A07 tst.b D7
000005FE 6710 beq +0x12 /* 00000610 */
00000600 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000604 3F2E 000E move.w -[A7], [A6 + 0xE]
00000608 3F2E 000C move.w -[A7], [A6 + 0xC]
0000060C 4227 clr.b -[A7]
0000060E A91B syscall MoveWindow
label00000610:
00000610 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000614 3F2E 000A move.w -[A7], [A6 + 0xA]
00000618 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000061C 4227 clr.b -[A7]
0000061E A91D syscall SizeWindow
label00000620:
00000620 2E1F move.l D7, [A7]+
00000622 4E5E unlink A6
00000624 4E74 0008 rtd 0x0008
00000628 4D41 chk.w D6, D1
0000062A 4B45 chk.w D5, D5
0000062C 504C addq.w A4, 8
0000062E 4F54 chk.w D7, [A4]
00000630 0450 6C6F subi.w [A0], 0x6C6F /* 'lo' */
00000634 7412 moveq.l D2, 0x12
export_192:
fn00000636:
00000636 4E56 C386 link A6, -0x3C7A
0000063A 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
0000063E F227 E0E0 .fmovem 0xF227, 0xE0E0 // unimplemented
00000642 206D 95CA movea.l A0, [A5 - 0x6A36]
00000646 4A28 0A1A tst.b [A0 + 0xA1A]
0000064A 6708 beq +0xA /* 00000654 */
0000064C 3B7C 0023 DA0A move.w [A5 - 0x25F6], 0x23 /* '#' */
00000652 6006 bra +0x8 /* 0000065A */
label00000654:
00000654 3B7C 0019 DA0A move.w [A5 - 0x25F6], 0x19
label0000065A:
0000065A 3B7C 000A DA0C move.w [A5 - 0x25F4], 0xA /* '\n' */
00000660 3B7C 0014 DA0E move.w [A5 - 0x25F2], 0x14
00000666 3B7C 000A DA10 move.w [A5 - 0x25F0], 0xA /* '\n' */
0000066C 302D A65E move.w D0, [A5 - 0x59A2]
00000670 5340 subq.w D0, 1
00000672 3D40 C392 move.w [A6 - 0x3C6E], D0
00000676 4247 clr.w D7
00000678 602E bra +0x30 /* 000006A8 */
label0000067A:
0000067A 206E 000C movea.l A0, [A6 + 0xC]
0000067E 7000 moveq.l D0, 0x00
00000680 1030 7000 move.b D0, [A0 + D7.w]
00000684 C1FC 000C muls.w D0, 0xC
00000688 3207 move.w D1, D7
0000068A C3FC 000C muls.w D1, 0xC
0000068E 0640 CDDA addi.w D0, 0xCDDA
00000692 41F5 0000 lea.l A0, [A5 + D0.w]
00000696 0641 C396 addi.w D1, 0xC396
0000069A 43F6 1000 lea.l A1, [A6 + D1.w]
0000069E 22D8 move.l [A1]+, [A0]+
000006A0 22D8 move.l [A1]+, [A0]+
000006A2 22D8 move.l [A1]+, [A0]+
000006A4 5247 addq.w D7, 1
000006A6 6906 bvs +0x8 /* 000006AE */
label000006A8:
000006A8 BE6E C392 cmp.w D7, [A6 - 0x3C6E]
000006AC 6FCC ble -0x32 /* 0000067A */
label000006AE:
000006AE 4A2D A672 tst.b [A5 - 0x598E]
000006B2 673E beq +0x40 /* 000006F2 */
000006B4 302D A65E move.w D0, [A5 - 0x59A2]
000006B8 5340 subq.w D0, 1
000006BA 3D40 C392 move.w [A6 - 0x3C6E], D0
000006BE 4247 clr.w D7
000006C0 602A bra +0x2C /* 000006EC */
label000006C2:
000006C2 3007 move.w D0, D7
000006C4 C1FC 000C muls.w D0, 0xC
000006C8 F22D 4800 D9E6 fmove fp0, (extended) [A5 - 0x261A]
000006CE 0640 C396 addi.w D0, 0xC396
000006D2 F236 4828 0000 fsub fp0, (extended) [A6 + D0.w]
000006D8 3007 move.w D0, D7
000006DA C1FC 000C muls.w D0, 0xC
000006DE 0640 C396 addi.w D0, 0xC396
000006E2 F236 6800 0000 fmove (extended) [A6 + D0.w], fp0
000006E8 5247 addq.w D7, 1
000006EA 6906 bvs +0x8 /* 000006F2 */
label000006EC:
000006EC BE6E C392 cmp.w D7, [A6 - 0x3C6E]
000006F0 6FD0 ble -0x2E /* 000006C2 */
label000006F2:
000006F2 4A2D A676 tst.b [A5 - 0x598A]
000006F6 6712 beq +0x14 /* 0000070A */
000006F8 3C2D A690 move.w D6, [A5 - 0x5970]
000006FC 3B46 A642 move.w [A5 - 0x59BE], D6
00000700 3B6D A692 A644 move.w [A5 - 0x59BC], [A5 - 0x596E]
00000706 6000 0090 bra +0x92 /* 00000798 */
label0000070A:
0000070A 594F subq.w A7, 4
0000070C 206D 95CA movea.l A0, [A5 - 0x6A36]
00000710 F228 4800 008E fmove fp0, (extended) [A0 + 0x8E]
00000716 F23C 4822 3FFE 0000 8000 0000 0000 0000 fadd fp0, (extended) (extended)0x3FFE00008000000000000000
00000726 F22E 6800 C388 fmove (extended) [A6 - 0x3C78], fp0
0000072C 486E C388 pea.l [A6 - 0x3C78]
00000730 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000734 3C2D A65E move.w D6, [A5 - 0x59A2]
00000738 48C6 ext.l D6
0000073A 4C1F 6800 movem.w A3,A5,A6, [A7]+
0000073E 0C46 0032 cmpi.w D6, 0x32 /* '2' */
00000742 6C02 bge +0x4 /* 00000746 */
00000744 7C64 moveq.l D6, 0x64
label00000746:
00000746 206D 95CA movea.l A0, [A5 - 0x6A36]
0000074A 2F28 009E move.l -[A7], [A0 + 0x9E]
0000074E 486E FFE0 pea.l [A6 - 0x20]
00000752 4EAD 0892 jsr [A5 + 0x892 /* export_270 */]
00000756 362E FFE6 move.w D3, [A6 - 0x1A]
0000075A 966E FFE2 sub.w D3, [A6 - 0x1E]
0000075E BC43 cmp.w D6, D3
00000760 6F02 ble +0x4 /* 00000764 */
00000762 3C03 move.w D6, D3
label00000764:
00000764 3006 move.w D0, D6
00000766 48C0 ext.l D0
00000768 81FC 0002 divs.w D0, 0x2
0000076C 3B40 A644 move.w [A5 - 0x59BC], D0
00000770 0C6D 012C A642 cmpi.w [A5 - 0x59BE], 0x12C
00000776 6F0C ble +0xE /* 00000784 */
00000778 3006 move.w D0, D6
0000077A 48C0 ext.l D0
0000077C 81FC 0003 divs.w D0, 0x3
00000780 3B40 A644 move.w [A5 - 0x59BC], D0
label00000784:
00000784 0C6D 0190 A642 cmpi.w [A5 - 0x59BE], 0x190
0000078A 6F0C ble +0xE /* 00000798 */
0000078C 3006 move.w D0, D6
0000078E 48C0 ext.l D0
00000790 81FC 0004 divs.w D0, 0x4
00000794 3B40 A644 move.w [A5 - 0x59BC], D0
label00000798:
00000798 3006 move.w D0, D6
0000079A D06D DA0A add.w D0, [A5 - 0x25F6]
0000079E D06D DA10 add.w D0, [A5 - 0x25F0]
000007A2 3B40 A642 move.w [A5 - 0x59BE], D0
000007A6 302D A644 move.w D0, [A5 - 0x59BC]
000007AA D06D DA0C add.w D0, [A5 - 0x25F4]
000007AE D06D DA0E add.w D0, [A5 - 0x25F2]
000007B2 3B40 A644 move.w [A5 - 0x59BC], D0
000007B6 3D6E 000A FFCA move.w [A6 - 0x36], [A6 + 0xA]
000007BC 302E 0008 move.w D0, [A6 + 0x8]
000007C0 0640 0028 addi.w D0, 0x28 /* '(' */
000007C4 3D40 FFC8 move.w [A6 - 0x38], D0
000007C8 486E FFC8 pea.l [A6 - 0x38]
000007CC A870 syscall LocalToGlobal
000007CE 302E FFCA move.w D0, [A6 - 0x36]
000007D2 906D DA0A sub.w D0, [A5 - 0x25F6]
000007D6 3B40 A63E move.w [A5 - 0x59C2], D0
000007DA 3B6E FFC8 A640 move.w [A5 - 0x59C0], [A6 - 0x38]
000007E0 302D A1E2 move.w D0, [A5 - 0x5E1E]
000007E4 906D A644 sub.w D0, [A5 - 0x59BC]
000007E8 B06D A640 cmp.w D0, [A5 - 0x59C0]
000007EC 6C10 bge +0x12 /* 000007FE */
000007EE 302D A640 move.w D0, [A5 - 0x59C0]
000007F2 906D A644 sub.w D0, [A5 - 0x59BC]
000007F6 0640 FFC4 addi.w D0, 0xFFC4
000007FA 3B40 A640 move.w [A5 - 0x59C0], D0
label000007FE:
000007FE 0C6D 003C A640 cmpi.w [A5 - 0x59C0], 0x3C /* '<' */
00000804 6C06 bge +0x8 /* 0000080C */
00000806 3B7C 003C A640 move.w [A5 - 0x59C0], 0x3C /* '<' */
label0000080C:
0000080C 3F2D A63E move.w -[A7], [A5 - 0x59C2]
00000810 3F2D A640 move.w -[A7], [A5 - 0x59C0]
00000814 3F2D A642 move.w -[A7], [A5 - 0x59BE]
00000818 3F2D A644 move.w -[A7], [A5 - 0x59BC]
0000081C 4EBA FD60 jsr [PC - 0x2A0 /* 0000057E */]
00000820 206D 9344 movea.l A0, [A5 - 0x6CBC]
00000824 317C 005A 006C move.w [A0 + 0x6C], 0x5A /* 'Z' */
0000082A 41ED D9E6 lea.l A0, [A5 - 0x261A]
0000082E 43ED A646 lea.l A1, [A5 - 0x59BA]
00000832 22D8 move.l [A1]+, [A0]+
00000834 22D8 move.l [A1]+, [A0]+
00000836 22D8 move.l [A1]+, [A0]+
00000838 41ED D9DA lea.l A0, [A5 - 0x2626]
0000083C 43ED A652 lea.l A1, [A5 - 0x59AE]
00000840 22D8 move.l [A1]+, [A0]+
00000842 22D8 move.l [A1]+, [A0]+
00000844 22D8 move.l [A1]+, [A0]+
00000846 F23C 4A80 0000 0000 0000 0000 0000 0000 fmove fp5, (extended) (extended)0x000000000000000000000000
00000856 302D A65E move.w D0, [A5 - 0x59A2]
0000085A 5340 subq.w D0, 1
0000085C 3D40 C392 move.w [A6 - 0x3C6E], D0
00000860 4247 clr.w D7
00000862 603E bra +0x40 /* 000008A2 */
label00000864:
00000864 3007 move.w D0, D7
00000866 C1FC 000C muls.w D0, 0xC
0000086A 0640 C396 addi.w D0, 0xC396
0000086E F236 4B00 0000 fmove fp6, (extended) [A6 + D0.w]
00000874 F200 1AA2 fadd fp5, fp6
00000878 4A2D A673 tst.b [A5 - 0x598D]
0000087C 6720 beq +0x22 /* 0000089E */
0000087E F22D 4B38 A646 fcmp fp6, (extended) [A5 - 0x59BA]
00000884 F28B 0008 .extension 0x28B <<F/2-3/1>> // unimplemented
00000888 F22D 6B00 A646 fmove (extended) [A5 - 0x59BA], fp6
0000088E F22D 4B38 A652 fcmp fp6, (extended) [A5 - 0x59AE]
00000894 F28D 0008 .extension 0x28D <<F/2-3/1>> // unimplemented
00000898 F22D 6B00 A652 fmove (extended) [A5 - 0x59AE], fp6
label0000089E:
0000089E 5247 addq.w D7, 1
000008A0 6906 bvs +0x8 /* 000008A8 */
label000008A2:
000008A2 BE6E C392 cmp.w D7, [A6 - 0x3C6E]
000008A6 6FBC ble -0x42 /* 00000864 */
label000008A8:
000008A8 4A6D A65E tst.w [A5 - 0x59A2]
000008AC 6F12 ble +0x14 /* 000008C0 */
000008AE F200 1400 fmove fp0, fp5
000008B2 F22D 5020 A65E fdiv fp0, (int16_t) [A5 - 0x59A2]
000008B8 F22D 6800 A666 fmove (extended) [A5 - 0x599A], fp0
000008BE 6016 bra +0x18 /* 000008D6 */
label000008C0:
000008C0 F23C 4800 0000 0000 0000 0000 0000 0000 fmove fp0, (extended) (extended)0x000000000000000000000000
000008D0 F22D 6800 A666 fmove (extended) [A5 - 0x599A], fp0
label000008D6:
000008D6 102D A673 move.b D0, [A5 - 0x598D]
000008DA 5300 subq.b D0, 1
000008DC 671C beq +0x1E /* 000008FA */
000008DE 41ED A678 lea.l A0, [A5 - 0x5988]
000008E2 43ED A646 lea.l A1, [A5 - 0x59BA]
000008E6 22D8 move.l [A1]+, [A0]+
000008E8 22D8 move.l [A1]+, [A0]+
000008EA 22D8 move.l [A1]+, [A0]+
000008EC 41ED A684 lea.l A0, [A5 - 0x597C]
000008F0 43ED A652 lea.l A1, [A5 - 0x59AE]
000008F4 22D8 move.l [A1]+, [A0]+
000008F6 22D8 move.l [A1]+, [A0]+
000008F8 22D8 move.l [A1]+, [A0]+
label000008FA:
000008FA 382D A65E move.w D4, [A5 - 0x59A2]
000008FE 5344 subq.w D4, 1
00000900 F22D 4800 A652 fmove fp0, (extended) [A5 - 0x59AE]
00000906 F22D 4828 A646 fsub fp0, (extended) [A5 - 0x59BA]
0000090C F23C 5038 0000 fcmp fp0, (int16_t) 0x0
00000912 F281 001C .extension 0x281 <<F/2-3/1>> // unimplemented
00000916 F22D 4B80 A652 fmove fp7, (extended) [A5 - 0x59AE]
0000091C F22D 4BA8 A646 fsub fp7, (extended) [A5 - 0x59BA]
00000922 F204 5000 fmove fp0, (int16_t) D4
00000926 F200 1C20 .fmovecr 0xF200, 0x1C20 // unimplemented
0000092A F200 0380 fmove fp7, fp0
0000092E 6010 bra +0x12 /* 00000940 */
00000930 F23C 4B80 3FFF 0000 8000 0000 0000 0000 fmove fp7, (extended) (extended)0x3FFF00008000000000000000
label00000940:
00000940 594F subq.w A7, 4
00000942 F23C 4800 4009 0000 8000 0000 0000 0000 fmove fp0, (extended) (extended)0x400900008000000000000000
00000952 F22D 5020 A65E fdiv fp0, (int16_t) [A5 - 0x59A2]
00000958 F22E 6800 C388 fmove (extended) [A6 - 0x3C78], fp0
0000095E 486E C388 pea.l [A6 - 0x3C78]
00000962 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000966 544F addq.w A7, 2
00000968 3A1F move.w D5, [A7]+
0000096A 0C45 0001 cmpi.w D5, 0x1
0000096E 6C02 bge +0x4 /* 00000972 */
00000970 7A01 moveq.l D5, 0x01
label00000972:
00000972 C9C5 muls.w D4, D5
00000974 F205 53A3 fmul fp7, (int16_t) D5
00000978 486E FFE8 pea.l [A6 - 0x18]
0000097C 4267 clr.w -[A7]
0000097E 4267 clr.w -[A7]
00000980 3F04 move.w -[A7], D4
00000982 3F04 move.w -[A7], D4
00000984 A8A7 syscall SetRect
00000986 486E FFDC pea.l [A6 - 0x24]
0000098A A874 syscall GetPort
0000098C 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000990 A873 syscall SetPort
00000992 206D 9344 movea.l A0, [A5 - 0x6CBC]
00000996 2868 001C movea.l A4, [A0 + 0x1C]
0000099A 206D 9344 movea.l A0, [A5 - 0x6CBC]
0000099E 2F28 001C move.l -[A7], [A0 + 0x1C]
000009A2 486E FFE8 pea.l [A6 - 0x18]
000009A6 A8DF syscall RectRgn
000009A8 594F subq.w A7, 4
000009AA 486E FFE8 pea.l [A6 - 0x18]
000009AE A8F3 syscall OpenPicture
000009B0 2B5F A63A move.l [A5 - 0x59C6], [A7]+
000009B4 A89E syscall PenNormal
000009B6 4A2D A674 tst.b [A5 - 0x598C]
000009BA 6700 0076 beq +0x78 /* 00000A32 */
000009BE 4267 clr.w -[A7]
000009C0 594F subq.w A7, 4
000009C2 F22D 4800 A652 fmove fp0, (extended) [A5 - 0x59AE]
000009C8 F22E 4828 C396 fsub fp0, (extended) [A6 - 0x3C6A]
000009CE F200 1C23 .fmovecr 0xF200, 0x1C23 // unimplemented
000009D2 F22E 6800 C388 fmove (extended) [A6 - 0x3C78], fp0
000009D8 486E C388 pea.l [A6 - 0x3C78]
000009DC 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000009E0 544F addq.w A7, 2
000009E2 A893 syscall MoveTo
000009E4 302D A65E move.w D0, [A5 - 0x59A2]
000009E8 5340 subq.w D0, 1
000009EA 3D40 C392 move.w [A6 - 0x3C6E], D0
000009EE 7E01 moveq.l D7, 0x01
000009F0 6038 bra +0x3A /* 00000A2A */
label000009F2:
000009F2 3007 move.w D0, D7
000009F4 C1C5 muls.w D0, D5
000009F6 3F00 move.w -[A7], D0
000009F8 594F subq.w A7, 4
000009FA 3007 move.w D0, D7
000009FC C1FC 000C muls.w D0, 0xC
00000A00 F22D 4800 A652 fmove fp0, (extended) [A5 - 0x59AE]
00000A06 0640 C396 addi.w D0, 0xC396
00000A0A F236 4828 0000 fsub fp0, (extended) [A6 + D0.w]
00000A10 F200 1C23 .fmovecr 0xF200, 0x1C23 // unimplemented
00000A14 F22E 6800 C386 fmove (extended) [A6 - 0x3C7A], fp0
00000A1A 486E C386 pea.l [A6 - 0x3C7A]
00000A1E 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000A22 544F addq.w A7, 2
00000A24 A891 syscall LineTo
00000A26 5247 addq.w D7, 1
00000A28 6968 bvs +0x6A /* 00000A92 */
label00000A2A:
00000A2A BE6E C392 cmp.w D7, [A6 - 0x3C6E]
00000A2E 6FC2 ble -0x3C /* 000009F2 */
00000A30 6060 bra +0x62 /* 00000A92 */
label00000A32:
00000A32 302D A65E move.w D0, [A5 - 0x59A2]
00000A36 5340 subq.w D0, 1
00000A38 3D40 C392 move.w [A6 - 0x3C6E], D0
00000A3C 7E01 moveq.l D7, 0x01
00000A3E 604C bra +0x4E /* 00000A8C */
label00000A40:
00000A40 594F subq.w A7, 4
00000A42 3007 move.w D0, D7
00000A44 C1FC 000C muls.w D0, 0xC
00000A48 F22D 4800 A652 fmove fp0, (extended) [A5 - 0x59AE]
00000A4E 0640 C396 addi.w D0, 0xC396
00000A52 F236 4828 0000 fsub fp0, (extended) [A6 + D0.w]
00000A58 F200 1C23 .fmovecr 0xF200, 0x1C23 // unimplemented
00000A5C F22E 6800 C386 fmove (extended) [A6 - 0x3C7A], fp0
00000A62 486E C386 pea.l [A6 - 0x3C7A]
00000A66 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000A6A 544F addq.w A7, 2
00000A6C 3D5F FFD6 move.w [A6 - 0x2A], [A7]+
00000A70 3007 move.w D0, D7
00000A72 C1C5 muls.w D0, D5
00000A74 3F00 move.w -[A7], D0
00000A76 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
00000A7A A893 syscall MoveTo
00000A7C 3007 move.w D0, D7
00000A7E C1C5 muls.w D0, D5
00000A80 3F00 move.w -[A7], D0
00000A82 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
00000A86 A891 syscall LineTo
00000A88 5247 addq.w D7, 1
00000A8A 6906 bvs +0x8 /* 00000A92 */
label00000A8C:
00000A8C BE6E C392 cmp.w D7, [A6 - 0x3C6E]
00000A90 6FAE ble -0x50 /* 00000A40 */
label00000A92:
00000A92 A8F4 syscall ClosePicture
00000A94 206D 9344 movea.l A0, [A5 - 0x6CBC]
00000A98 214C 001C move.l [A0 + 0x1C], A4
00000A9C 206D 9344 movea.l A0, [A5 - 0x6CBC]
00000AA0 4868 0010 pea.l [A0 + 0x10]
00000AA4 A928 syscall InvalRect
00000AA6 2F2E FFDC move.l -[A7], [A6 - 0x24]
00000AAA A873 syscall SetPort
00000AAC 2F2D 9344 move.l -[A7], [A5 - 0x6CBC]
00000AB0 A91F syscall SelectWindow
00000AB2 F21F D007 .fmovem 0xF21F, 0xD007 // unimplemented
00000AB6 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00000ABA 4E5E unlink A6
00000ABC 4E74 0008 rtd 0x0008
00000AC0 5345 subq.w D5, 1
00000AC2 5455 addq.w [A5], 2
00000AC4 5050 addq.w [A0], 8
00000AC6 4C4F 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, A7
// begin alternate branch 00000AC8-00000ACC
fn00000AC8:
00000AC8 4E56 F5C4 link A6, -0x0A3C
// end alternate branch 00000AC8-00000ACC
fn00000AC8: // (misaligned)
00000ACA F5C4 .invalid <<F/7/2>>
00000ACC 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00000AD0 286E 000E movea.l A4, [A6 + 0xE]
00000AD4 266E 000A movea.l A3, [A6 + 0xA]
00000AD8 0C6D 0001 A630 cmpi.w [A5 - 0x59D0], 0x1
00000ADE 5EC0 sgt D0
00000AE0 4400 neg.b D0
00000AE2 1D40 FFD5 move.b [A6 - 0x2B], D0
00000AE6 102E 0008 move.b D0, [A6 + 0x8]
00000AEA C02E FFD5 and.b D0, [A6 - 0x2B]
00000AEE 671E beq +0x20 /* 00000B0E */
00000AF0 426E FFDC clr.w [A6 - 0x24]
label00000AF4:
00000AF4 302E FFDC move.w D0, [A6 - 0x24]
00000AF8 0640 F5D0 addi.w D0, 0xF5D0
00000AFC 1DAD A5F1 0000 move.b [A6 + D0.w], [A5 - 0x5A0F]
00000B02 526E FFDC addq.w [A6 - 0x24], 1
00000B06 0C6E 0500 FFDC cmpi.w [A6 - 0x24], 0x500
00000B0C 6FE6 ble -0x18 /* 00000AF4 */
label00000B0E:
00000B0E 4254 clr.w [A4]
00000B10 3E2E 0018 move.w D7, [A6 + 0x18]
00000B14 3C2E 0016 move.w D6, [A6 + 0x16]
00000B18 382E 0014 move.w D4, [A6 + 0x14]
00000B1C 9847 sub.w D4, D7
00000B1E 3A2E 0012 move.w D5, [A6 + 0x12]
00000B22 9A46 sub.w D5, D6
00000B24 4A44 tst.w D4
00000B26 57C0 seq D0
00000B28 4A45 tst.w D5
00000B2A 57C1 seq D1
00000B2C C001 and.b D0, D1
00000B2E 672E beq +0x30 /* 00000B5E */
00000B30 554F subq.w A7, 2
00000B32 3F07 move.w -[A7], D7
00000B34 3F06 move.w -[A7], D6
00000B36 4EAD 0A2A jsr [A5 + 0xA2A /* export_321 */]
00000B3A 3014 move.w D0, [A4]
00000B3C 321F move.w D1, [A7]+
00000B3E 1781 0000 move.b [A3 + D0.w], D1
00000B42 4A2E 0008 tst.b [A6 + 0x8]
00000B46 670C beq +0xE /* 00000B54 */
00000B48 3F07 move.w -[A7], D7
00000B4A 3F06 move.w -[A7], D6
00000B4C 3F2D A5F0 move.w -[A7], [A5 - 0x5A10]
00000B50 4EAD 0A32 jsr [A5 + 0xA32 /* export_322 */]
label00000B54:
00000B54 3014 move.w D0, [A4]
00000B56 5240 addq.w D0, 1
00000B58 3880 move.w [A4], D0
00000B5A 6000 021E bra +0x220 /* 00000D7A */
label00000B5E:
00000B5E 4A44 tst.w D4
00000B60 6C0A bge +0xC /* 00000B6C */
00000B62 3D7C FFFF FFE2 move.w [A6 - 0x1E], 0xFFFF
00000B68 4444 neg.w D4
00000B6A 6006 bra +0x8 /* 00000B72 */
label00000B6C:
00000B6C 3D7C 0001 FFE2 move.w [A6 - 0x1E], 0x1
label00000B72:
00000B72 4A45 tst.w D5
00000B74 6C0A bge +0xC /* 00000B80 */
00000B76 3D7C FFFF FFE0 move.w [A6 - 0x20], 0xFFFF
00000B7C 4445 neg.w D5
00000B7E 6006 bra +0x8 /* 00000B86 */
label00000B80:
00000B80 3D7C 0001 FFE0 move.w [A6 - 0x20], 0x1
label00000B86:
00000B86 B845 cmp.w D4, D5
00000B88 6F00 00F8 ble +0xFA /* 00000C82 */
00000B8C 4A2E FFD5 tst.b [A6 - 0x2B]
00000B90 6704 beq +0x6 /* 00000B96 */
00000B92 D86D A630 add.w D4, [A5 - 0x59D0]
label00000B96:
00000B96 3604 move.w D3, D4
00000B98 48C3 ext.l D3
00000B9A 87FC 0002 divs.w D3, 0x2
00000B9E 3D44 FFDC move.w [A6 - 0x24], D4
label00000BA2:
00000BA2 D645 add.w D3, D5
00000BA4 B644 cmp.w D3, D4
00000BA6 6D06 blt +0x8 /* 00000BAE */
00000BA8 9644 sub.w D3, D4
00000BAA DC6E FFE0 add.w D6, [A6 - 0x20]
label00000BAE:
00000BAE DE6E FFE2 add.w D7, [A6 - 0x1E]
00000BB2 4A2E FFD5 tst.b [A6 - 0x2B]
00000BB6 6700 008A beq +0x8C /* 00000C42 */
00000BBA 3F07 move.w -[A7], D7
00000BBC 3F06 move.w -[A7], D6
00000BBE 3F2D A630 move.w -[A7], [A5 - 0x59D0]
00000BC2 486E FAD2 pea.l [A6 - 0x52E]
00000BC6 4EAD 0A42 jsr [A5 + 0xA42 /* export_324 */]
00000BCA 4A2E 0008 tst.b [A6 + 0x8]
00000BCE 6710 beq +0x12 /* 00000BE0 */
00000BD0 3F07 move.w -[A7], D7
00000BD2 3F06 move.w -[A7], D6
00000BD4 3F2D A630 move.w -[A7], [A5 - 0x59D0]
00000BD8 486E F5D0 pea.l [A6 - 0xA30]
00000BDC 4EAD 0A4A jsr [A5 + 0xA4A /* export_325 */]
label00000BE0:
00000BE0 42AE FFEC clr.l [A6 - 0x14]
00000BE4 302D A630 move.w D0, [A5 - 0x59D0]
00000BE8 5340 subq.w D0, 1
00000BEA 3D40 F5CE move.w [A6 - 0xA32], D0
00000BEE 426E FFD6 clr.w [A6 - 0x2A]
00000BF2 601E bra +0x20 /* 00000C12 */
label00000BF4:
00000BF4 302E FFD6 move.w D0, [A6 - 0x2A]
00000BF8 7200 moveq.l D1, 0x00
00000BFA 0640 FAD2 addi.w D0, 0xFAD2
00000BFE 1236 0000 move.b D1, [A6 + D0.w]
00000C02 48C1 ext.l D1
00000C04 D2AE FFEC add.l D1, [A6 - 0x14]
00000C08 2D41 FFEC move.l [A6 - 0x14], D1
00000C0C 526E FFD6 addq.w [A6 - 0x2A], 1
00000C10 690A bvs +0xC /* 00000C1C */
label00000C12:
00000C12 302E FFD6 move.w D0, [A6 - 0x2A]
00000C16 B06E F5CE cmp.w D0, [A6 - 0xA32]
00000C1A 6FD8 ble -0x26 /* 00000BF4 */
label00000C1C:
00000C1C 594F subq.w A7, 4
00000C1E F22E 4000 FFEC fmove fp0, (int32_t) [A6 - 0x14]
00000C24 F22D 5020 A630 fdiv fp0, (int16_t) [A5 - 0x59D0]
00000C2A F22E 6800 F5C4 fmove (extended) [A6 - 0xA3C], fp0
00000C30 486E F5C4 pea.l [A6 - 0xA3C]
00000C34 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000C38 3014 move.w D0, [A4]
00000C3A 221F move.l D1, [A7]+
00000C3C 1781 0000 move.b [A3 + D0.w], D1
00000C40 6024 bra +0x26 /* 00000C66 */
label00000C42:
00000C42 554F subq.w A7, 2
00000C44 3F07 move.w -[A7], D7
00000C46 3F06 move.w -[A7], D6
00000C48 4EAD 0A2A jsr [A5 + 0xA2A /* export_321 */]
00000C4C 3014 move.w D0, [A4]
00000C4E 321F move.w D1, [A7]+
00000C50 1781 0000 move.b [A3 + D0.w], D1
00000C54 4A2E 0008 tst.b [A6 + 0x8]
00000C58 670C beq +0xE /* 00000C66 */
00000C5A 3F07 move.w -[A7], D7
00000C5C 3F06 move.w -[A7], D6
00000C5E 3F2D A5F0 move.w -[A7], [A5 - 0x5A10]
00000C62 4EAD 0A32 jsr [A5 + 0xA32 /* export_322 */]
label00000C66:
00000C66 3014 move.w D0, [A4]
00000C68 5240 addq.w D0, 1
00000C6A 3880 move.w [A4], D0
00000C6C 302E FFDC move.w D0, [A6 - 0x24]
00000C70 5340 subq.w D0, 1
00000C72 3D40 FFDC move.w [A6 - 0x24], D0
00000C76 4A6E FFDC tst.w [A6 - 0x24]
00000C7A 6600 FF26 bne -0xD8 /* 00000BA2 */
00000C7E 6000 00F4 bra +0xF6 /* 00000D74 */
label00000C82:
00000C82 4A2E FFD5 tst.b [A6 - 0x2B]
00000C86 6704 beq +0x6 /* 00000C8C */
00000C88 DA6D A630 add.w D5, [A5 - 0x59D0]
label00000C8C:
00000C8C 3605 move.w D3, D5
00000C8E 48C3 ext.l D3
00000C90 87FC 0002 divs.w D3, 0x2
00000C94 3D45 FFDC move.w [A6 - 0x24], D5
label00000C98:
00000C98 D644 add.w D3, D4
00000C9A B645 cmp.w D3, D5
00000C9C 6D06 blt +0x8 /* 00000CA4 */
00000C9E 9645 sub.w D3, D5
00000CA0 DE6E FFE2 add.w D7, [A6 - 0x1E]
label00000CA4:
00000CA4 DC6E FFE0 add.w D6, [A6 - 0x20]
00000CA8 4A2E FFD5 tst.b [A6 - 0x2B]
00000CAC 6700 008A beq +0x8C /* 00000D38 */
00000CB0 3F07 move.w -[A7], D7
00000CB2 3F06 move.w -[A7], D6
00000CB4 3F2D A630 move.w -[A7], [A5 - 0x59D0]
00000CB8 486E FAD2 pea.l [A6 - 0x52E]
00000CBC 4EAD 0A3A jsr [A5 + 0xA3A /* export_323 */]
00000CC0 4A2E 0008 tst.b [A6 + 0x8]
00000CC4 6710 beq +0x12 /* 00000CD6 */
00000CC6 3F07 move.w -[A7], D7
00000CC8 3F06 move.w -[A7], D6
00000CCA 3F2D A630 move.w -[A7], [A5 - 0x59D0]
00000CCE 486E F5D0 pea.l [A6 - 0xA30]
00000CD2 4EAD 0A52 jsr [A5 + 0xA52 /* export_326 */]
label00000CD6:
00000CD6 42AE FFEC clr.l [A6 - 0x14]
00000CDA 302D A630 move.w D0, [A5 - 0x59D0]
00000CDE 5340 subq.w D0, 1
00000CE0 3D40 F5CE move.w [A6 - 0xA32], D0
00000CE4 426E FFD6 clr.w [A6 - 0x2A]
00000CE8 601E bra +0x20 /* 00000D08 */
label00000CEA:
00000CEA 302E FFD6 move.w D0, [A6 - 0x2A]
00000CEE 7200 moveq.l D1, 0x00
00000CF0 0640 FAD2 addi.w D0, 0xFAD2
00000CF4 1236 0000 move.b D1, [A6 + D0.w]
00000CF8 48C1 ext.l D1
00000CFA D2AE FFEC add.l D1, [A6 - 0x14]
00000CFE 2D41 FFEC move.l [A6 - 0x14], D1
00000D02 526E FFD6 addq.w [A6 - 0x2A], 1
00000D06 690A bvs +0xC /* 00000D12 */
label00000D08:
00000D08 302E FFD6 move.w D0, [A6 - 0x2A]
00000D0C B06E F5CE cmp.w D0, [A6 - 0xA32]
00000D10 6FD8 ble -0x26 /* 00000CEA */
label00000D12:
00000D12 594F subq.w A7, 4
00000D14 F22E 4000 FFEC fmove fp0, (int32_t) [A6 - 0x14]
00000D1A F22D 5020 A630 fdiv fp0, (int16_t) [A5 - 0x59D0]
00000D20 F22E 6800 F5C4 fmove (extended) [A6 - 0xA3C], fp0
00000D26 486E F5C4 pea.l [A6 - 0xA3C]
00000D2A 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000D2E 3014 move.w D0, [A4]
00000D30 221F move.l D1, [A7]+
00000D32 1781 0000 move.b [A3 + D0.w], D1
00000D36 6024 bra +0x26 /* 00000D5C */
label00000D38:
00000D38 554F subq.w A7, 2
00000D3A 3F07 move.w -[A7], D7
00000D3C 3F06 move.w -[A7], D6
00000D3E 4EAD 0A2A jsr [A5 + 0xA2A /* export_321 */]
00000D42 3014 move.w D0, [A4]
00000D44 321F move.w D1, [A7]+
00000D46 1781 0000 move.b [A3 + D0.w], D1
00000D4A 4A2E 0008 tst.b [A6 + 0x8]
00000D4E 670C beq +0xE /* 00000D5C */
00000D50 3F07 move.w -[A7], D7
00000D52 3F06 move.w -[A7], D6
00000D54 3F2D A5F0 move.w -[A7], [A5 - 0x5A10]
00000D58 4EAD 0A32 jsr [A5 + 0xA32 /* export_322 */]
label00000D5C:
00000D5C 3014 move.w D0, [A4]
00000D5E 5240 addq.w D0, 1
00000D60 3880 move.w [A4], D0
00000D62 302E FFDC move.w D0, [A6 - 0x24]
00000D66 5340 subq.w D0, 1
00000D68 3D40 FFDC move.w [A6 - 0x24], D0
00000D6C 4A6E FFDC tst.w [A6 - 0x24]
00000D70 6600 FF26 bne -0xD8 /* 00000C98 */
label00000D74:
00000D74 3014 move.w D0, [A4]
00000D76 5340 subq.w D0, 1
00000D78 3880 move.w [A4], D0
label00000D7A:
00000D7A 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
00000D7E 4E5E unlink A6
00000D80 4E74 0012 rtd 0x0012
00000D84 4745 chk.w D3, D5
00000D86 5444 addq.w D4, 2
00000D88 4941 chk.w D4, D1
00000D8A 474C chk.w D3, A4
export_193:
00000D8C 4E56 FFCA link A6, -0x0036
00000D90 48E7 0108 movem.l -[A7], D7,A4
00000D94 206E 0010 movea.l A0, [A6 + 0x10]
00000D98 43EE FFE0 lea.l A1, [A6 - 0x20]
00000D9C 22D8 move.l [A1]+, [A0]+
00000D9E 22D8 move.l [A1]+, [A0]+
00000DA0 22D8 move.l [A1]+, [A0]+
00000DA2 22D8 move.l [A1]+, [A0]+
00000DA4 206D 95CA movea.l A0, [A5 - 0x6A36]
00000DA8 49E8 003A lea.l A4, [A0 + 0x3A]
00000DAC 302E 000A move.w D0, [A6 + 0xA]
00000DB0 B06C 0006 cmp.w D0, [A4 + 0x6]
00000DB4 6D0A blt +0xC /* 00000DC0 */
00000DB6 302C 0006 move.w D0, [A4 + 0x6]
00000DBA 5340 subq.w D0, 1
00000DBC 3D40 000A move.w [A6 + 0xA], D0
label00000DC0:
00000DC0 302E 0008 move.w D0, [A6 + 0x8]
00000DC4 B06C 0004 cmp.w D0, [A4 + 0x4]
00000DC8 6D0A blt +0xC /* 00000DD4 */
00000DCA 302C 0004 move.w D0, [A4 + 0x4]
00000DCE 5340 subq.w D0, 1
00000DD0 3D40 0008 move.w [A6 + 0x8], D0
label00000DD4:
00000DD4 302E 000A move.w D0, [A6 + 0xA]
00000DD8 B06E 000E cmp.w D0, [A6 + 0xE]
00000DDC 6C12 bge +0x14 /* 00000DF0 */
00000DDE 2D6E 000C FFCC move.l [A6 - 0x34], [A6 + 0xC]
00000DE4 2D6E 0008 000C move.l [A6 + 0xC], [A6 + 0x8]
00000DEA 2D6E FFCC 0008 move.l [A6 + 0x8], [A6 - 0x34]
label00000DF0:
00000DF0 2D6E 000C FFD4 move.l [A6 - 0x2C], [A6 + 0xC]
00000DF6 2D6E 0008 FFD0 move.l [A6 - 0x30], [A6 + 0x8]
00000DFC 486E FFD4 pea.l [A6 - 0x2C]
00000E00 4EAD 0A02 jsr [A5 + 0xA02 /* export_316 */]
00000E04 486E FFD0 pea.l [A6 - 0x30]
00000E08 4EAD 0A02 jsr [A5 + 0xA02 /* export_316 */]
00000E0C 554F subq.w A7, 2
00000E0E 4EAD 08E2 jsr [A5 + 0x8E2 /* export_280 */]
00000E12 1E1F move.b D7, [A7]+
00000E14 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
00000E18 2F2E FFD0 move.l -[A7], [A6 - 0x30]
00000E1C 486D A65E pea.l [A5 - 0x59A2]
00000E20 2F2D A662 move.l -[A7], [A5 - 0x599E]
00000E24 1F07 move.b -[A7], D7
00000E26 4EBA FCA0 jsr [PC - 0x360 /* 00000AC8 */]
00000E2A 3B6D A630 A660 move.w [A5 - 0x59A0], [A5 - 0x59D0]
00000E30 2F2D A662 move.l -[A7], [A5 - 0x599E]
00000E34 2F2E 000C move.l -[A7], [A6 + 0xC]
00000E38 4EBA F7FC jsr [PC - 0x804 /* 00000636 */]
00000E3C 4A07 tst.b D7
00000E3E 670E beq +0x10 /* 00000E4E */
00000E40 4EAD 0ABA jsr [A5 + 0xABA /* export_339 */]
00000E44 206D 95CA movea.l A0, [A5 - 0x6A36]
00000E48 117C 0001 00A5 move.b [A0 + 0xA5], 0x1
label00000E4E:
00000E4E 4CDF 1080 movem.l D7,A4, [A7]+
00000E52 4E5E unlink A6
00000E54 4E74 000C rtd 0x000C
00000E58 444F neg.w A7
00000E5A 5052 addq.w [A2], 8
00000E5C 4F46 chk.w D7, D6
00000E5E 494C chk.w D4, A4
fn00000E60:
00000E60 4E56 FFEE link A6, -0x0012
00000E64 48E7 0108 movem.l -[A7], D7,A4
00000E68 286E 0008 movea.l A4, [A6 + 0x8]
00000E6C 7E01 moveq.l D7, 0x01
label00000E6E:
00000E6E 3007 move.w D0, D7
00000E70 5340 subq.w D0, 1
00000E72 E540 asl D0.w, 2
00000E74 3207 move.w D1, D7
00000E76 E541 asl D1.w, 2
00000E78 2034 0000 move.l D0, [A4 + D0.w]
00000E7C D0B4 1000 add.l D0, [A4 + D1.w]
00000E80 3207 move.w D1, D7
00000E82 5241 addq.w D1, 1
00000E84 E541 asl D1.w, 2
00000E86 D0B4 1000 add.l D0, [A4 + D1.w]
00000E8A 4C7C 0800 0000 0003 movem.l A3, 0x3
00000E92 3207 move.w D1, D7
00000E94 E541 asl D1.w, 2
00000E96 2980 1000 move.l [A4 + D1.w], D0
00000E9A 5247 addq.w D7, 1
00000E9C 0C47 00FE cmpi.w D7, 0xFE
00000EA0 6FCC ble -0x32 /* 00000E6E */
00000EA2 4CDF 1080 movem.l D7,A4, [A7]+
00000EA6 4E5E unlink A6
00000EA8 4E74 0004 rtd 0x0004
00000EAC 4649 not.w A1
00000EAE 4C54 4552 movem.l D1,D4,D6,A0,A2,A6, [A4]
00000EB2 4849 pea.l A1
fn00000EB4:
00000EB4 4E56 0000 link A6, 0
00000EB8 2F0C move.l -[A7], A4
00000EBA 286E 0008 movea.l A4, [A6 + 0x8]
00000EBE 302C FFEE move.w D0, [A4 - 0x12]
00000EC2 0640 000C addi.w D0, 0xC
00000EC6 3940 FFEE move.w [A4 - 0x12], D0
00000ECA 3F2C FFEC move.w -[A7], [A4 - 0x14]
00000ECE 3F2C FFEE move.w -[A7], [A4 - 0x12]
00000ED2 A893 syscall MoveTo
00000ED4 285F movea.l A4, [A7]+
00000ED6 4E5E unlink A6
00000ED8 4E74 0004 rtd 0x0004
00000EDC 4E45 trap 5
00000EDE 574C subq.w A4, 3
00000EE0 494E chk.w D4, A6
00000EE2 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
export_194:
fn00000EE4:
00000EE4 4E56 FB76 link A6, -0x048A
00000EE8 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000EEC F227 E0C0 .fmovem 0xF227, 0xE0C0 // unimplemented
00000EF0 486E FFE6 pea.l [A6 - 0x1A]
00000EF4 A874 syscall GetPort
00000EF6 3D7C 0023 FFEE move.w [A6 - 0x12], 0x23 /* '#' */
00000EFC 3D7C 0004 FFEC move.w [A6 - 0x14], 0x4
00000F02 2F2D 933C move.l -[A7], [A5 - 0x6CC4]
00000F06 A873 syscall SetPort
00000F08 3F3C 0001 move.w -[A7], 0x1
00000F0C A887 syscall TextFont
00000F0E 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00000F12 A88A syscall TextSize
00000F14 486E FFDE pea.l [A6 - 0x22]
00000F18 4267 clr.w -[A7]
00000F1A 3F2E FFEE move.w -[A7], [A6 - 0x12]
00000F1E 3F3C 00C8 move.w -[A7], 0xC8
00000F22 3F3C 00E1 move.w -[A7], 0xE1
00000F26 A8A7 syscall SetRect
00000F28 486E FFDE pea.l [A6 - 0x22]
00000F2C A8A3 syscall EraseRect
00000F2E 4A2D DDAC tst.b [A5 - 0x2254]
00000F32 673C beq +0x3E /* 00000F70 */
00000F34 486E FFDE pea.l [A6 - 0x22]
00000F38 3F2E FFEC move.w -[A7], [A6 - 0x14]
00000F3C 302E FFEE move.w D0, [A6 - 0x12]
00000F40 0640 000F addi.w D0, 0xF
00000F44 3F00 move.w -[A7], D0
00000F46 3F3C 00BE move.w -[A7], 0xBE
00000F4A 3F3C 00E1 move.w -[A7], 0xE1
00000F4E A8A7 syscall SetRect
00000F50 41ED DDAC lea.l A0, [A5 - 0x2254]
00000F54 2008 move.l D0, A0
00000F56 5280 addq.l D0, 1
00000F58 2F00 move.l -[A7], D0
00000F5A 7000 moveq.l D0, 0x00
00000F5C 102D DDAC move.b D0, [A5 - 0x2254]
00000F60 48C0 ext.l D0
00000F62 2F00 move.l -[A7], D0
00000F64 486E FFDE pea.l [A6 - 0x22]
00000F68 4267 clr.w -[A7]
00000F6A A9CE syscall TETextBox/TextBox
00000F6C 6000 06C6 bra +0x6C8 /* 00001634 */
label00000F70:
00000F70 2F0E move.l -[A7], A6
00000F72 4EBA FF40 jsr [PC - 0xC0 /* 00000EB4 */]
00000F76 102D 9CFA move.b D0, [A5 - 0x6306]
00000F7A 6000 0146 bra +0x148 /* 000010C2 */
label00000F7E:
00000F7E 266D 95CA movea.l A3, [A5 - 0x6A36]
00000F82 487A 07D8 pea.l [PC + 0x7D8 /* 0000175C, value 0x7436F75, pstring "Count: " */]
00000F86 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00000F8A 302D C8A2 move.w D0, [A5 - 0x375E]
00000F8E 48C0 ext.l D0
00000F90 2F00 move.l -[A7], D0
00000F92 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
00000F96 2F0E move.l -[A7], A6
00000F98 4EBA FF1A jsr [PC - 0xE6 /* 00000EB4 */]
00000F9C 487A 07B4 pea.l [PC + 0x7B4 /* 00001752, value 0x84C656E, pstring "Length: " */]
00000FA0 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00000FA4 F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
00000FAA F23C 4838 0000 0000 0000 0000 0000 0000 fcmp fp0, (extended) (extended)0x000000000000000000000000
00000FBA F281 0030 .extension 0x281 <<F/2-3/1>> // unimplemented
00000FBE 302D C8A2 move.w D0, [A5 - 0x375E]
00000FC2 E540 asl D0.w, 2
00000FC4 0640 C8A8 addi.w D0, 0xC8A8
00000FC8 F235 4400 0000 fmove fp0, (float) [A5 + D0.w]
00000FCE F22B 4820 0980 fdiv fp0, (extended) [A3 + 0x980]
00000FD4 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00000FDA 486E FB8A pea.l [A6 - 0x476]
00000FDE 3F3C 0001 move.w -[A7], 0x1
00000FE2 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00000FE6 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00000FEA 6026 bra +0x28 /* 00001012 */
00000FEC 302D C8A2 move.w D0, [A5 - 0x375E]
00000FF0 E540 asl D0.w, 2
00000FF2 0640 C8A8 addi.w D0, 0xC8A8
00000FF6 F235 4400 0000 fmove fp0, (float) [A5 + D0.w]
00000FFC F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001002 486E FB8A pea.l [A6 - 0x476]
00001006 3F3C 0001 move.w -[A7], 0x1
0000100A 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
0000100E 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001012:
00001012 487A 073C pea.l [PC + 0x73C /* 00001750, value 0x120084C */]
00001016 A884 syscall DrawString
00001018 F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
0000101E F23C 4838 0000 0000 0000 0000 0000 0000 fcmp fp0, (extended) (extended)0x000000000000000000000000
0000102E F281 000C .extension 0x281 <<F/2-3/1>> // unimplemented
00001032 486B 09B0 pea.l [A3 + 0x9B0]
00001036 A884 syscall DrawString
00001038 6000 05FA bra +0x5FC /* 00001634 */
0000103C 487A 070A pea.l [PC + 0x70A /* 00001748, value 0x6506978, pstring "Pixels" */]
00001040 A884 syscall DrawString
00001042 6000 05F0 bra +0x5F2 /* 00001634 */
label00001046:
00001046 487A 06F8 pea.l [PC + 0x6F8 /* 00001740, value 0x7436F75, pstring "Count: " */]
0000104A 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
0000104E 302D C89E move.w D0, [A5 - 0x3762]
00001052 48C0 ext.l D0
00001054 2F00 move.l -[A7], D0
00001056 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
0000105A 2F0E move.l -[A7], A6
0000105C 4EBA FE56 jsr [PC - 0x1AA /* 00000EB4 */]
00001060 487A 06DA pea.l [PC + 0x6DA /* 0000173C, value 0x3583A20, pstring "X: " */]
00001064 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001068 486D BDD6 pea.l [A5 - 0x422A]
0000106C 3F3C 0001 move.w -[A7], 0x1
00001070 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001074 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00001078 2F0E move.l -[A7], A6
0000107A 4EBA FE38 jsr [PC - 0x1C8 /* 00000EB4 */]
0000107E 487A 06B8 pea.l [PC + 0x6B8 /* 00001738, value 0x3593A20, pstring "Y: " */]
00001082 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001086 486D BDE2 pea.l [A5 - 0x421E]
0000108A 3F3C 0001 move.w -[A7], 0x1
0000108E 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001092 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00001096 6000 059C bra +0x59E /* 00001634 */
label0000109A:
0000109A 487A 0694 pea.l [PC + 0x694 /* 00001730, value 0x7416E67, pstring "Angle: " */]
0000109E 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000010A2 486D BE12 pea.l [A5 - 0x41EE]
000010A6 3F3C 0001 move.w -[A7], 0x1
000010AA 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
000010AE 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000010B2 487A 0672 pea.l [PC + 0x672 /* 00001726, value 0x8206465, pstring " degrees" */]
000010B6 A884 syscall DrawString
000010B8 2F0E move.l -[A7], A6
000010BA 4EBA FDF8 jsr [PC - 0x208 /* 00000EB4 */]
000010BE 6000 0574 bra +0x576 /* 00001634 */
label000010C2:
000010C2 0600 00F6 addi.b D0, 0xF6
000010C6 6700 FEB6 beq -0x148 /* 00000F7E */
000010CA 5100 subq.b D0, 8
000010CC 67CC beq -0x32 /* 0000109A */
000010CE 5300 subq.b D0, 1
000010D0 6700 FF74 beq -0x8A /* 00001046 */
000010D4 266D 95CA movea.l A3, [A5 - 0x6A36]
000010D8 286D C892 movea.l A4, [A5 - 0x376E]
000010DC 487A 0640 pea.l [PC + 0x640 /* 0000171E, value 0x7436F75, pstring "Count: " */]
000010E0 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000010E4 302D C898 move.w D0, [A5 - 0x3768]
000010E8 48C0 ext.l D0
000010EA 2F00 move.l -[A7], D0
000010EC 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
000010F0 2F0E move.l -[A7], A6
000010F2 4EBA FDC0 jsr [PC - 0x240 /* 00000EB4 */]
000010F6 487A 0622 pea.l [PC + 0x622 /* 0000171A, value 0x34E3A20, pstring "N: " */]
000010FA 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000010FE 302D C898 move.w D0, [A5 - 0x3768]
00001102 E540 asl D0.w, 2
00001104 0640 0648 addi.w D0, 0x648
00001108 2F34 0000 move.l -[A7], [A4 + D0.w]
0000110C 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
00001110 F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
00001116 F23C 4838 0000 0000 0000 0000 0000 0000 fcmp fp0, (extended) (extended)0x000000000000000000000000
00001126 F281 0050 .extension 0x281 <<F/2-3/1>> // unimplemented
0000112A 2F0E move.l -[A7], A6
0000112C 4EBA FD86 jsr [PC - 0x27A /* 00000EB4 */]
00001130 487A 05E0 pea.l [PC + 0x5E0 /* 00001712, value 0x6417265, pstring "Area: " */]
00001134 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001138 302D C898 move.w D0, [A5 - 0x3768]
0000113C E540 asl D0.w, 2
0000113E F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
00001144 F200 0023 fmul fp0, fp0
00001148 0640 0648 addi.w D0, 0x648
0000114C F234 4080 0000 fmove fp1, (int32_t) [A4 + D0.w]
00001152 F200 00A0 fdiv fp1, fp0
00001156 F22E 6880 FB8A fmove (extended) [A6 - 0x476], fp1
0000115C 486E FB8A pea.l [A6 - 0x476]
00001160 3F3C 0001 move.w -[A7], 0x1
00001164 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001168 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000116C 487A 059A pea.l [PC + 0x59A /* 00001708, value 0x8207371, pstring " square " */]
00001170 A884 syscall DrawString
00001172 486B 09B0 pea.l [A3 + 0x9B0]
00001176 A884 syscall DrawString
00001178 2F0E move.l -[A7], A6
0000117A 4EBA FD38 jsr [PC - 0x2C8 /* 00000EB4 */]
0000117E 487A 0580 pea.l [PC + 0x580 /* 00001700, value 0x64D6561, pstring "Mean: " */]
00001182 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001186 302D C898 move.w D0, [A5 - 0x3768]
0000118A E540 asl D0.w, 2
0000118C F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
00001192 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001198 486E FB8A pea.l [A6 - 0x476]
0000119C 3F3C 0001 move.w -[A7], 0x1
000011A0 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
000011A4 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000011A8 4A2B 0A1A tst.b [A3 + 0xA1A]
000011AC 6726 beq +0x28 /* 000011D4 */
000011AE 487A 054E pea.l [PC + 0x54E /* 000016FE, value 0x120064D */]
000011B2 A884 syscall DrawString
000011B4 486B 09C0 pea.l [A3 + 0x9C0]
000011B8 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000011BC 487A 053A pea.l [PC + 0x53A /* 000016F8, value 0x4202020, pstring " (" */]
000011C0 A884 syscall DrawString
000011C2 302D BE26 move.w D0, [A5 - 0x41DA]
000011C6 48C0 ext.l D0
000011C8 2F00 move.l -[A7], D0
000011CA 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
000011CE 487A 0526 pea.l [PC + 0x526 /* 000016F6, value 0x1290420 */]
000011D2 A884 syscall DrawString
label000011D4:
000011D4 4A2B 0A1B tst.b [A3 + 0xA1B]
000011D8 6730 beq +0x32 /* 0000120A */
000011DA 2F0E move.l -[A7], A6
000011DC 4EBA FCD6 jsr [PC - 0x32A /* 00000EB4 */]
000011E0 487A 050C pea.l [PC + 0x50C /* 000016EE, value 0x7426C61, pstring "Black: " */]
000011E4 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000011E8 2F2D A5E8 move.l -[A7], [A5 - 0x5A18]
000011EC 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
000011F0 2F0E move.l -[A7], A6
000011F2 4EBA FCC0 jsr [PC - 0x340 /* 00000EB4 */]
000011F6 487A 04EE pea.l [PC + 0x4EE /* 000016E6, value 0x7576869, pstring "White: " */]
000011FA 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000011FE 2F2D A1EC move.l -[A7], [A5 - 0x5E14]
00001202 4EAD 08BA jsr [A5 + 0x8BA /* export_275 */]
00001206 6000 00A0 bra +0xA2 /* 000012A8 */
label0000120A:
0000120A 4A6D BE20 tst.w [A5 - 0x41E0]
0000120E 57C0 seq D0
00001210 0C6D 0001 BE20 cmpi.w [A5 - 0x41E0], 0x1
00001216 57C1 seq D1
00001218 8001 or.b D0, D1
0000121A 0C6D 00FF BE22 cmpi.w [A5 - 0x41DE], 0xFF
00001220 57C1 seq D1
00001222 8001 or.b D0, D1
00001224 0C6D 00FE BE22 cmpi.w [A5 - 0x41DE], 0xFE
0000122A 57C1 seq D1
0000122C 8001 or.b D0, D1
0000122E 6708 beq +0xA /* 00001238 */
00001230 487A 049C pea.l [PC + 0x49C /* 000016CE, value 0x16202850, pstring " (Possible Saturation)" */]
00001234 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
label00001238:
00001238 2F0E move.l -[A7], A6
0000123A 4EBA FC78 jsr [PC - 0x388 /* 00000EB4 */]
0000123E 487A 0484 pea.l [PC + 0x484 /* 000016C4, value 0x9537464 '\tStd', pstring "Std Dev: " */]
00001242 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001246 302D C898 move.w D0, [A5 - 0x3768]
0000124A E540 asl D0.w, 2
0000124C 0640 0324 addi.w D0, 0x324
00001250 F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
00001256 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
0000125C 486E FB8A pea.l [A6 - 0x476]
00001260 3F3C 0001 move.w -[A7], 0x1
00001264 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001268 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000126C 2F0E move.l -[A7], A6
0000126E 4EBA FC44 jsr [PC - 0x3BC /* 00000EB4 */]
00001272 487A 044A pea.l [PC + 0x44A /* 000016BE, value 0x54D696E, pstring "Min: " */]
00001276 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
0000127A 486D BDEE pea.l [A5 - 0x4212]
0000127E 3F3C 0001 move.w -[A7], 0x1
00001282 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001286 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000128A 2F0E move.l -[A7], A6
0000128C 4EBA FC26 jsr [PC - 0x3DA /* 00000EB4 */]
00001290 487A 0426 pea.l [PC + 0x426 /* 000016B8, value 0x54D6178, pstring "Max: " */]
00001294 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001298 486D BDFA pea.l [A5 - 0x4206]
0000129C 3F3C 0001 move.w -[A7], 0x1
000012A0 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
000012A4 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label000012A8:
000012A8 486D DA9E pea.l [A5 - 0x2562]
000012AC 486E FB76 pea.l [A6 - 0x48A]
000012B0 3F3C 0002 move.w -[A7], 0x2
000012B4 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
000012B8 3F3C 0003 move.w -[A7], 0x3
000012BC 486E FB76 pea.l [A6 - 0x48A]
000012C0 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
000012C4 6760 beq +0x62 /* 00001326 */
000012C6 2F0E move.l -[A7], A6
000012C8 4EBA FBEA jsr [PC - 0x416 /* 00000EB4 */]
000012CC 487A 03E4 pea.l [PC + 0x3E4 /* 000016B2, value 0x5582C59, pstring "X,Y: " */]
000012D0 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000012D4 302D C898 move.w D0, [A5 - 0x3768]
000012D8 E540 asl D0.w, 2
000012DA 0640 12D8 addi.w D0, 0x12D8
000012DE F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
000012E4 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
000012EA 486E FB8A pea.l [A6 - 0x476]
000012EE 3F3C 0006 move.w -[A7], 0x6
000012F2 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
000012F6 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
000012FA 487A 03B4 pea.l [PC + 0x3B4 /* 000016B0, value 0x12C0558 */]
000012FE A884 syscall DrawString
00001300 302D C898 move.w D0, [A5 - 0x3768]
00001304 E540 asl D0.w, 2
00001306 0640 15FC addi.w D0, 0x15FC
0000130A F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
00001310 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001316 486E FB8A pea.l [A6 - 0x476]
0000131A 3F3C 0006 move.w -[A7], 0x6
0000131E 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001322 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001326:
00001326 486D DA9E pea.l [A5 - 0x2562]
0000132A 486E FB76 pea.l [A6 - 0x48A]
0000132E 3F3C 0002 move.w -[A7], 0x2
00001332 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00001336 3F3C 0004 move.w -[A7], 0x4
0000133A 486E FB76 pea.l [A6 - 0x48A]
0000133E 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
00001342 6734 beq +0x36 /* 00001378 */
00001344 2F0E move.l -[A7], A6
00001346 4EBA FB6C jsr [PC - 0x494 /* 00000EB4 */]
0000134A 487A 035C pea.l [PC + 0x35C /* 000016A8, value 0x64D6F64, pstring "Mode: " */]
0000134E 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001352 302D C898 move.w D0, [A5 - 0x3768]
00001356 E540 asl D0.w, 2
00001358 0640 096C addi.w D0, 0x96C /* '\tl' */
0000135C F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
00001362 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001368 486E FB8A pea.l [A6 - 0x476]
0000136C 3F3C 0001 move.w -[A7], 0x1
00001370 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001374 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001378:
00001378 4A2D DD76 tst.b [A5 - 0x228A]
0000137C 6700 00F8 beq +0xFA /* 00001476 */
00001380 486D DA9E pea.l [A5 - 0x2562]
00001384 486E FB76 pea.l [A6 - 0x48A]
00001388 3F3C 0002 move.w -[A7], 0x2
0000138C 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00001390 3F3C 0007 move.w -[A7], 0x7
00001394 486E FB76 pea.l [A6 - 0x48A]
00001398 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
0000139C 6734 beq +0x36 /* 000013D2 */
0000139E 2F0E move.l -[A7], A6
000013A0 4EBA FB12 jsr [PC - 0x4EE /* 00000EB4 */]
000013A4 487A 02FA pea.l [PC + 0x2FA /* 000016A0, value 0x74D696E, pstring "Minor: " */]
000013A8 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000013AC 302D C898 move.w D0, [A5 - 0x3768]
000013B0 E540 asl D0.w, 2
000013B2 0640 1C44 addi.w D0, 0x1C44
000013B6 F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
000013BC F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
000013C2 486E FB8A pea.l [A6 - 0x476]
000013C6 3F3C 0001 move.w -[A7], 0x1
000013CA 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
000013CE 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label000013D2:
000013D2 486D DA9E pea.l [A5 - 0x2562]
000013D6 486E FB76 pea.l [A6 - 0x48A]
000013DA 3F3C 0002 move.w -[A7], 0x2
000013DE 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
000013E2 3F3C 0006 move.w -[A7], 0x6
000013E6 486E FB76 pea.l [A6 - 0x48A]
000013EA 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
000013EE 6734 beq +0x36 /* 00001424 */
000013F0 2F0E move.l -[A7], A6
000013F2 4EBA FAC0 jsr [PC - 0x540 /* 00000EB4 */]
000013F6 487A 02A0 pea.l [PC + 0x2A0 /* 00001698, value 0x74D616A, pstring "Major: " */]
000013FA 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000013FE 302D C898 move.w D0, [A5 - 0x3768]
00001402 E540 asl D0.w, 2
00001404 0640 1920 addi.w D0, 0x1920
00001408 F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
0000140E F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001414 486E FB8A pea.l [A6 - 0x476]
00001418 3F3C 0001 move.w -[A7], 0x1
0000141C 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001420 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001424:
00001424 486D DA9E pea.l [A5 - 0x2562]
00001428 486E FB76 pea.l [A6 - 0x48A]
0000142C 3F3C 0002 move.w -[A7], 0x2
00001430 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00001434 3F3C 0008 move.w -[A7], 0x8
00001438 486E FB76 pea.l [A6 - 0x48A]
0000143C 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
00001440 6734 beq +0x36 /* 00001476 */
00001442 2F0E move.l -[A7], A6
00001444 4EBA FA6E jsr [PC - 0x592 /* 00000EB4 */]
00001448 487A 0246 pea.l [PC + 0x246 /* 00001690, value 0x7416E67, pstring "Angle: " */]
0000144C 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001450 302D C898 move.w D0, [A5 - 0x3768]
00001454 E540 asl D0.w, 2
00001456 0640 1F68 addi.w D0, 0x1F68
0000145A F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
00001460 F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001466 486E FB8A pea.l [A6 - 0x476]
0000146A 3F3C 0001 move.w -[A7], 0x1
0000146E 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001472 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001476:
00001476 486D DA9E pea.l [A5 - 0x2562]
0000147A 486E FB76 pea.l [A6 - 0x48A]
0000147E 3F3C 0002 move.w -[A7], 0x2
00001482 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
00001486 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000148A 486E FB76 pea.l [A6 - 0x48A]
0000148E 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
00001492 6700 00DC beq +0xDE /* 00001570 */
00001496 2F0E move.l -[A7], A6
00001498 4EBA FA1A jsr [PC - 0x5E6 /* 00000EB4 */]
0000149C 41ED A1EC lea.l A0, [A5 - 0x5E14]
000014A0 43EE FB9E lea.l A1, [A6 - 0x462]
000014A4 303C 00FF move.w D0, 0xFF
label000014A8:
000014A8 22D8 move.l [A1]+, [A0]+
000014AA 51C8 FFFC dbf D0, -0x6 /* 000014A8 */
000014AE 486E FB9E pea.l [A6 - 0x462]
000014B2 4EBA F9AC jsr [PC - 0x654 /* 00000E60 */]
000014B6 486E FB9E pea.l [A6 - 0x462]
000014BA 4EBA F9A4 jsr [PC - 0x65C /* 00000E60 */]
000014BE 486E FB9E pea.l [A6 - 0x462]
000014C2 4EBA F99C jsr [PC - 0x664 /* 00000E60 */]
000014C6 F23C 4B80 0000 0000 0000 0000 0000 0000 fmove fp7, (extended) (extended)0x000000000000000000000000
000014D6 4286 clr.l D6
000014D8 4247 clr.w D7
label000014DA:
000014DA 3007 move.w D0, D7
000014DC E540 asl D0.w, 2
000014DE 0640 FB9E addi.w D0, 0xFB9E
000014E2 BCB6 0000 cmp.l D6, [A6 + D0.w]
000014E6 6C1C bge +0x1E /* 00001504 */
000014E8 3C07 move.w D6, D7
000014EA E546 asl D6.w, 2
000014EC 41EE FB9E lea.l A0, [A6 - 0x462]
000014F0 2C30 6000 move.l D6, [A0 + D6.w]
000014F4 3007 move.w D0, D7
000014F6 C1FC 000C muls.w D0, 0xC
000014FA 0640 CDDA addi.w D0, 0xCDDA
000014FE F235 4B80 0000 fmove fp7, (extended) [A5 + D0.w]
label00001504:
00001504 5247 addq.w D7, 1
00001506 0C47 00FF cmpi.w D7, 0xFF
0000150A 6FCE ble -0x30 /* 000014DA */
0000150C 302D C898 move.w D0, [A5 - 0x3768]
00001510 E540 asl D0.w, 2
00001512 322D C898 move.w D1, [A5 - 0x3768]
00001516 E541 asl D1.w, 2
00001518 F234 4700 1000 fmove fp6, (float) [A4 + D1.w]
0000151E F200 1F28 .fmovecr 0xF200, 0x1F28 // unimplemented
00001522 0640 0648 addi.w D0, 0x648
00001526 F234 4323 0000 fmul fp6, (int32_t) [A4 + D0.w]
0000152C 487A 014C pea.l [PC + 0x14C /* 0000167A, value 0x14496E74, pstring "Integrated Density: " */]
00001530 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001534 F22E 6B00 FB8A fmove (extended) [A6 - 0x476], fp6
0000153A 486E FB8A pea.l [A6 - 0x476]
0000153E 3F3C 0001 move.w -[A7], 0x1
00001542 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001546 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000154A 2F0E move.l -[A7], A6
0000154C 4EBA F966 jsr [PC - 0x69A /* 00000EB4 */]
00001550 487A 0114 pea.l [PC + 0x114 /* 00001666, value 0x12426163, pstring "Background Level: " */]
00001554 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
00001558 F22E 6B80 FB8A fmove (extended) [A6 - 0x476], fp7
0000155E 486E FB8A pea.l [A6 - 0x476]
00001562 3F3C 0001 move.w -[A7], 0x1
00001566 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
0000156A 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000156E 6010 bra +0x12 /* 00001580 */
label00001570:
00001570 F23C 4B00 0000 0000 0000 0000 0000 0000 fmove fp6, (extended) (extended)0x000000000000000000000000
label00001580:
00001580 302D C898 move.w D0, [A5 - 0x3768]
00001584 E540 asl D0.w, 2
00001586 0640 0C90 addi.w D0, 0xC90
0000158A F234 6700 0000 fmove (float) [A4 + D0.w], fp6
00001590 486D DA9E pea.l [A5 - 0x2562]
00001594 486E FB76 pea.l [A6 - 0x48A]
00001598 3F3C 0002 move.w -[A7], 0x2
0000159C 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
000015A0 3F3C 0005 move.w -[A7], 0x5
000015A4 486E FB76 pea.l [A6 - 0x48A]
000015A8 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
000015AC 6700 0086 beq +0x88 /* 00001634 */
000015B0 2F0E move.l -[A7], A6
000015B2 4EBA F900 jsr [PC - 0x700 /* 00000EB4 */]
000015B6 487A 00A2 pea.l [PC + 0xA2 /* 0000165A, value 0xB506572, pstring "Perimeter: " */]
000015BA 4EAD 0B8A jsr [A5 + 0xB8A /* export_365 */]
000015BE F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
000015C4 F23C 4838 0000 0000 0000 0000 0000 0000 fcmp fp0, (extended) (extended)0x000000000000000000000000
000015D4 F281 0038 .extension 0x281 <<F/2-3/1>> // unimplemented
000015D8 302D C898 move.w D0, [A5 - 0x3768]
000015DC E540 asl D0.w, 2
000015DE F22B 4800 0980 fmove fp0, (extended) [A3 + 0x980]
000015E4 F200 0023 fmul fp0, fp0
000015E8 0640 0FB4 addi.w D0, 0xFB4
000015EC F234 4480 0000 fmove fp1, (float) [A4 + D0.w]
000015F2 F200 00A0 fdiv fp1, fp0
000015F6 F22E 6880 FB8A fmove (extended) [A6 - 0x476], fp1
000015FC 486E FB8A pea.l [A6 - 0x476]
00001600 3F3C 0001 move.w -[A7], 0x1
00001604 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001608 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
0000160C 6026 bra +0x28 /* 00001634 */
0000160E 302D C898 move.w D0, [A5 - 0x3768]
00001612 E540 asl D0.w, 2
00001614 0640 0FB4 addi.w D0, 0xFB4
00001618 F234 4400 0000 fmove fp0, (float) [A4 + D0.w]
0000161E F22E 6800 FB8A fmove (extended) [A6 - 0x476], fp0
00001624 486E FB8A pea.l [A6 - 0x476]
00001628 3F3C 0001 move.w -[A7], 0x1
0000162C 3F2D DEC6 move.w -[A7], [A5 - 0x213A]
00001630 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
label00001634:
00001634 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00001638 A873 syscall SetPort
0000163A 3B6D C898 C89A move.w [A5 - 0x3766], [A5 - 0x3768]
00001640 3B6D C8A2 C8A4 move.w [A5 - 0x375C], [A5 - 0x375E]
00001646 F21F D003 .fmovem 0xF21F, 0xD003 // unimplemented
0000164A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000164E 4E5E unlink A6
00001650 4E75 rts
00001652 5348 subq.w A0, 1
00001654 4F57 chk.w D7, [A7]
00001656 5245 addq.w D5, 1
00001658 5355 subq.w [A5], 1
0000165A 0B50 bchg [A0], D5
0000165C 6572 bcs +0x74 /* 000016D0 */
0000165E 696D bvs +0x6F /* 000016CD */
00001660 6574 bcs +0x76 /* 000016D6 */
00001662 6572 bcs +0x74 /* 000016D6 */
00001664 3A20 move.w D5, -[A0]
00001666 1242 movea.b A1, D2
00001668 6163 bsr +0x65 /* 000016CD */
0000166A 6B67 bmi +0x69 /* 000016D3 */
0000166C 726F moveq.l D1, 0x6F
0000166E 756E moveq.l D2, 0x6E
00001670 6420 bcc +0x22 /* 00001692 */
00001672 4C65 7665 movem.l D1,D2,D3,D5,D6,A1,A2,A5,A7, -[A5]
00001676 6C3A bge +0x3C /* 000016B2 */
00001678 2016 move.l D0, [A6]
0000167A 1449 movea.b A2, A1
0000167C 6E74 bgt +0x76 /* 000016F2 */
0000167E 6567 bcs +0x69 /* 000016E7 */
00001680 7261 moveq.l D1, 0x61
00001682 7465 moveq.l D2, 0x65
00001684 6420 bcc +0x22 /* 000016A6 */
00001686 4465 neg.w -[A5]
00001688 6E73 bgt +0x75 /* 000016FD */
0000168A 6974 bvs +0x76 /* 00001700 */
0000168C 793A moveq.l D4, 0x3A
0000168E 2016 move.l D0, [A6]
00001690 0741 bchg D1, D3
label00001692:
00001692 6E67 bgt +0x69 /* 000016FB */
00001694 6C65 bge +0x67 /* 000016FB */
00001696 3A20 move.w D5, -[A0]
00001698 074D bchg A5, D3
0000169A 616A bsr +0x6C /* 00001706 */
0000169C 6F72 ble +0x74 /* 00001710 */
0000169E 3A20 move.w D5, -[A0]
000016A0 074D bchg A5, D3
000016A2 696E bvs +0x70 /* 00001712 */
000016A4 6F72 ble +0x74 /* 00001718 */
label000016A6:
000016A6 3A20 move.w D5, -[A0]
000016A8 064D 6F64 addi.w A5, 0x6F64 /* 'od' */
000016AC 653A bcs +0x3C /* 000016E8 */
000016AE 2016 move.l D0, [A6]
000016B0 012C 0558 btst [A4 + 0x558], D0
// begin alternate branch 000016B2-000016B4
label000016B2:
000016B2 0558 bchg [A0]+, D2
// end alternate branch 000016B2-000016B4
label000016B2: // (misaligned)
000016B4 2C59 movea.l A6, [A1]+
000016B6 3A20 move.w D5, -[A0]
000016B8 054D bchg A5, D2
000016BA 6178 bsr +0x7A /* 00001734 */
000016BC 3A20 move.w D5, -[A0]
000016BE 054D bchg A5, D2
000016C0 696E bvs +0x70 /* 00001730 */
000016C2 3A20 move.w D5, -[A0]
000016C4 0953 bchg [A3], D4
000016C6 7464 moveq.l D2, 0x64
000016C8 2044 movea.l A0, D4
000016CA 6576 bcs +0x78 /* 00001742 */
000016CC 3A20 move.w D5, -[A0]
000016CE 1620 move.b D3, -[A0]
label000016D0:
000016D0 2850 movea.l A4, [A0]
000016D2 6F73 ble +0x75 /* 00001747 */
000016D4 7369 moveq.l D1, 0x69
label000016D6:
000016D6 626C bhi +0x6E /* 00001744 */
000016D8 6520 bcs +0x22 /* 000016FA */
000016DA 5361 subq.w -[A1], 1
000016DC 7475 moveq.l D2, 0x75
000016DE 7261 moveq.l D1, 0x61
000016E0 7469 moveq.l D2, 0x69
000016E2 6F6E ble +0x70 /* 00001752 */
000016E4 2916 move.l -[A4], [A6]
000016E6 0757 bchg [A7], D3
label000016E8:
000016E8 6869 bvc +0x6B /* 00001753 */
000016EA 7465 moveq.l D2, 0x65
000016EC 3A20 move.w D5, -[A0]
000016EE 0742 bchg D2, D3
000016F0 6C61 bge +0x63 /* 00001753 */
label000016F2:
000016F2 636B bls +0x6D /* 0000175F */
000016F4 3A20 move.w D5, -[A0]
000016F6 0129 0420 btst [A1 + 0x420], D0
label000016FA:
000016FA 2020 move.l D0, -[A0]
000016FC 2816 move.l D4, [A6]
000016FE 0120 btst -[A0], D0
label00001700:
00001700 064D 6561 addi.w A5, 0x6561 /* 'ea' */
00001704 6E3A bgt +0x3C /* 00001740 */
fn00001706:
00001706 2016 move.l D0, [A6]
00001708 0820 7371 btst.b -[A0], 0x71 /* 'q' */
0000170C 7561 moveq.l D2, 0x61
0000170E 7265 moveq.l D1, 0x65
label00001710:
00001710 2016 move.l D0, [A6]
label00001712:
00001712 0641 7265 addi.w D1, 0x7265 /* 're' */
00001716 613A bsr +0x3C /* 00001752 */
label00001718:
00001718 2016 move.l D0, [A6]
0000171A 034E bchg A6, D1
0000171C 3A20 move.w D5, -[A0]
0000171E 0743 bchg D3, D3
00001720 6F75 ble +0x77 /* 00001797 */
00001722 6E74 bgt +0x76 /* 00001798 */
00001724 3A20 move.w D5, -[A0]
00001726 0820 6465 btst.b -[A0], 0x65 /* 'e' */
0000172A 6772 beq +0x74 /* 0000179E */
0000172C 6565 bcs +0x67 /* 00001793 */
0000172E 7316 moveq.l D1, 0x16
label00001730:
00001730 0741 bchg D1, D3
00001732 6E67 bgt +0x69 /* 0000179B */
fn00001734:
00001734 6C65 bge +0x67 /* 0000179B */
00001736 3A20 move.w D5, -[A0]
00001738 0359 bchg [A1]+, D1
0000173A 3A20 move.w D5, -[A0]
0000173C 0358 bchg [A0]+, D1
0000173E 3A20 move.w D5, -[A0]
label00001740:
00001740 0743 bchg D3, D3
label00001742:
00001742 6F75 ble +0x77 /* 000017B9 */
label00001744:
00001744 6E74 bgt +0x76 /* 000017BA */
00001746 3A20 move.w D5, -[A0]
00001748 0650 6978 addi.w [A0], 0x6978 /* 'ix' */
0000174C 656C bcs +0x6E /* 000017BA */
0000174E 7316 moveq.l D1, 0x16
00001750 0120 btst -[A0], D0
fn00001752:
00001752 084C 656E bchg.b A4, 0x6E /* 'n' */
00001756 6774 beq +0x76 /* 000017CC */
00001758 683A bvc +0x3C /* 00001794 */
0000175A 2016 move.l D0, [A6]
0000175C 0743 bchg D3, D3
0000175E 6F75 ble +0x77 /* 000017D5 */
00001760 6E74 bgt +0x76 /* 000017D6 */
00001762 3A20 move.w D5, -[A0]
fn00001764:
00001764 4E56 FFE0 link A6, -0x0020
00001768 486E FFE8 pea.l [A6 - 0x18]
0000176C 3F2E 000A move.w -[A7], [A6 + 0xA]
00001770 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001774 302E 000A move.w D0, [A6 + 0xA]
00001778 D06D A630 add.w D0, [A5 - 0x59D0]
0000177C 3F00 move.w -[A7], D0
0000177E 302E 0008 move.w D0, [A6 + 0x8]
00001782 D06D A630 add.w D0, [A5 - 0x59D0]
00001786 3F00 move.w -[A7], D0
00001788 A8A7 syscall SetRect
0000178A 486E FFE8 pea.l [A6 - 0x18]
0000178E A8B8 syscall PaintOval
00001790 4E5E unlink A6
00001792 4E74 0004 rtd 0x0004
// begin alternate branch 00001794-00001798
label00001794:
00001794 0004 5041 ori.b D4, 0x41 /* 'A' */
// end alternate branch 00001794-00001798
label00001794: // (misaligned)
00001796 5041 addq.w D1, 8
label00001798:
00001798 494E chk.w D4, A6
0000179A 5443 addq.w D3, 2
0000179C 4952 chk.w D4, [A2]
fn0000179E:
0000179E 4E56 FFDC link A6, -0x0024
000017A2 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
000017A6 382E 000E move.w D4, [A6 + 0xE]
000017AA 362E 000C move.w D3, [A6 + 0xC]
000017AE 3A2E 000A move.w D5, [A6 + 0xA]
000017B2 9A44 sub.w D5, D4
000017B4 3C2E 0008 move.w D6, [A6 + 0x8]
000017B8 9C43 sub.w D6, D3
label000017BA:
000017BA 4A45 tst.w D5
000017BC 57C0 seq D0
000017BE 4A46 tst.w D6
000017C0 57C1 seq D1
000017C2 C001 and.b D0, D1
000017C4 670C beq +0xE /* 000017D2 */
000017C6 3F04 move.w -[A7], D4
000017C8 3F03 move.w -[A7], D3
000017CA 4EBA FF98 jsr [PC - 0x68 /* 00001764 */]
// begin alternate branch 000017CC-000017CE
label000017CC:
000017CC FF98 .invalid <<F/6/7>>
// end alternate branch 000017CC-000017CE
label000017CC: // (misaligned)
000017CE 6000 0098 bra +0x9A /* 00001868 */
label000017D2:
000017D2 4A45 tst.w D5
000017D4 6C0A bge +0xC /* 000017E0 */
label000017D6:
000017D6 3D7C FFFF FFEA move.w [A6 - 0x16], 0xFFFF
000017DC 4445 neg.w D5
000017DE 6006 bra +0x8 /* 000017E6 */
label000017E0:
000017E0 3D7C 0001 FFEA move.w [A6 - 0x16], 0x1
label000017E6:
000017E6 4A46 tst.w D6
000017E8 6C0A bge +0xC /* 000017F4 */
000017EA 3D7C FFFF FFE8 move.w [A6 - 0x18], 0xFFFF
000017F0 4446 neg.w D6
000017F2 6006 bra +0x8 /* 000017FA */
label000017F4:
000017F4 3D7C 0001 FFE8 move.w [A6 - 0x18], 0x1
label000017FA:
000017FA BA46 cmp.w D5, D6
000017FC 6F36 ble +0x38 /* 00001834 */
000017FE 3E05 move.w D7, D5
00001800 48C7 ext.l D7
00001802 8FFC 0002 divs.w D7, 0x2
00001806 3D45 FFE4 move.w [A6 - 0x1C], D5
label0000180A:
0000180A DE46 add.w D7, D6
0000180C BE45 cmp.w D7, D5
0000180E 6D06 blt +0x8 /* 00001816 */
00001810 9E45 sub.w D7, D5
00001812 D66E FFE8 add.w D3, [A6 - 0x18]
label00001816:
00001816 D86E FFEA add.w D4, [A6 - 0x16]
0000181A 3F04 move.w -[A7], D4
0000181C 3F03 move.w -[A7], D3
0000181E 4EBA FF44 jsr [PC - 0xBC /* 00001764 */]
00001822 302E FFE4 move.w D0, [A6 - 0x1C]
00001826 5340 subq.w D0, 1
00001828 3D40 FFE4 move.w [A6 - 0x1C], D0
0000182C 4A6E FFE4 tst.w [A6 - 0x1C]
00001830 66D8 bne -0x26 /* 0000180A */
00001832 6034 bra +0x36 /* 00001868 */
label00001834:
00001834 3E06 move.w D7, D6
00001836 48C7 ext.l D7
00001838 8FFC 0002 divs.w D7, 0x2
0000183C 3D46 FFE4 move.w [A6 - 0x1C], D6
label00001840:
00001840 DE45 add.w D7, D5
00001842 BE46 cmp.w D7, D6
00001844 6D06 blt +0x8 /* 0000184C */
00001846 9E46 sub.w D7, D6
00001848 D86E FFEA add.w D4, [A6 - 0x16]
label0000184C:
0000184C D66E FFE8 add.w D3, [A6 - 0x18]
00001850 3F04 move.w -[A7], D4
00001852 3F03 move.w -[A7], D3
00001854 4EBA FF0E jsr [PC - 0xF2 /* 00001764 */]
00001858 302E FFE4 move.w D0, [A6 - 0x1C]
0000185C 5340 subq.w D0, 1
0000185E 3D40 FFE4 move.w [A6 - 0x1C], D0
00001862 4A6E FFE4 tst.w [A6 - 0x1C]
00001866 66D8 bne -0x26 /* 00001840 */
label00001868:
00001868 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
0000186C 4E5E unlink A6
0000186E 4E74 0008 rtd 0x0008
00001872 4452 neg.w [A2]
00001874 4157 chk.w D0, [A7]
00001876 4252 clr.w [A2]
00001878 5553 subq.w [A3], 2
export_195:
0000187A 4E56 FFA6 link A6, -0x005A
0000187E 48E7 0108 movem.l -[A7], D7,A4
00001882 486E FFCC pea.l [A6 - 0x34]
00001886 A874 syscall GetPort
00001888 2F2E 000C move.l -[A7], [A6 + 0xC]
0000188C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001890 486E FFE8 pea.l [A6 - 0x18]
00001894 A8AC syscall Pt2Rect
00001896 286D 95CA movea.l A4, [A5 - 0x6A36]
0000189A 197C 0001 00A5 move.b [A4 + 0xA5], 0x1
000018A0 594F subq.w A7, 4
000018A2 F22C 4800 008E fmove fp0, (extended) [A4 + 0x8E]
000018A8 F23C 4822 3FFE 0000 8000 0000 0000 0000 fadd fp0, (extended) (extended)0x3FFE00008000000000000000
000018B8 F22E 6800 FFA6 fmove (extended) [A6 - 0x5A], fp0
000018BE 486E FFA6 pea.l [A6 - 0x5A]
000018C2 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
000018C6 3E2D A630 move.w D7, [A5 - 0x59D0]
000018CA 48C7 ext.l D7
000018CC 4C1F 7800 movem.w A3,A4,A5,A6, [A7]+
000018D0 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
000018D4 6C02 bge +0x4 /* 000018D8 */
000018D6 7E20 moveq.l D7, 0x20
label000018D8:
000018D8 302E FFEE move.w D0, [A6 - 0x12]
000018DC D047 add.w D0, D7
000018DE 3D40 FFEE move.w [A6 - 0x12], D0
000018E2 302E FFEC move.w D0, [A6 - 0x14]
000018E6 D047 add.w D0, D7
000018E8 3D40 FFEC move.w [A6 - 0x14], D0
000018EC F22C 4800 008E fmove fp0, (extended) [A4 + 0x8E]
000018F2 F23C 4838 3FFF 0000 8000 0000 0000 0000 fcmp fp0, (extended) (extended)0x3FFF00008000000000000000
00001902 F28D 0016 .extension 0x28D <<F/2-3/1>> // unimplemented
00001906 302E FFEA move.w D0, [A6 - 0x16]
0000190A 9047 sub.w D0, D7
0000190C 3D40 FFEA move.w [A6 - 0x16], D0
00001910 302E FFE8 move.w D0, [A6 - 0x18]
00001914 9047 sub.w D0, D7
00001916 3D40 FFE8 move.w [A6 - 0x18], D0
0000191A 486E 000C pea.l [A6 + 0xC]
0000191E 4EAD 0A02 jsr [A5 + 0xA02 /* export_316 */]
00001922 486E 0008 pea.l [A6 + 0x8]
00001926 4EAD 0A02 jsr [A5 + 0xA02 /* export_316 */]
0000192A 2F2C 0010 move.l -[A7], [A4 + 0x10]
0000192E A873 syscall SetPort
00001930 A89E syscall PenNormal
00001932 3F2D A630 move.w -[A7], [A5 - 0x59D0]
00001936 3F2D A630 move.w -[A7], [A5 - 0x59D0]
0000193A A89B syscall PenSize
0000193C 102E 0010 move.b D0, [A6 + 0x10]
00001940 6000 008A bra +0x8C /* 000019CC */
label00001944:
00001944 3B6E 000E DF3A move.w [A5 - 0x20C6], [A6 + 0xE]
0000194A 3B6E 000C DF3C move.w [A5 - 0x20C4], [A6 + 0xC]
00001950 3B6E 000A DF3E move.w [A5 - 0x20C2], [A6 + 0xA]
00001956 3B6E 0008 DF40 move.w [A5 - 0x20C0], [A6 + 0x8]
0000195C 3F2D DF3A move.w -[A7], [A5 - 0x20C6]
00001960 3F2D DF3C move.w -[A7], [A5 - 0x20C4]
00001964 A893 syscall MoveTo
00001966 3F2D DF3E move.w -[A7], [A5 - 0x20C2]
0000196A 3F2D DF40 move.w -[A7], [A5 - 0x20C0]
0000196E A891 syscall LineTo
00001970 6000 006E bra +0x70 /* 000019E0 */
label00001974:
00001974 2F2E 000C move.l -[A7], [A6 + 0xC]
00001978 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000197C 486E FFE0 pea.l [A6 - 0x20]
00001980 A8AC syscall Pt2Rect
00001982 486E FFE0 pea.l [A6 - 0x20]
00001986 A8A1 syscall FrameRect
00001988 6056 bra +0x58 /* 000019E0 */
label0000198A:
0000198A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000198E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001992 486E FFE0 pea.l [A6 - 0x20]
00001996 A8AC syscall Pt2Rect
00001998 486E FFE0 pea.l [A6 - 0x20]
0000199C 3F3C 000F move.w -[A7], 0xF
000019A0 3F3C 000F move.w -[A7], 0xF
000019A4 A8B0 syscall FrameRoundRect
000019A6 6038 bra +0x3A /* 000019E0 */
label000019A8:
000019A8 2F2E 000C move.l -[A7], [A6 + 0xC]
000019AC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000019B0 486E FFE0 pea.l [A6 - 0x20]
000019B4 A8AC syscall Pt2Rect
000019B6 486E FFE0 pea.l [A6 - 0x20]
000019BA A8B7 syscall FrameOval
000019BC 6022 bra +0x24 /* 000019E0 */
label000019BE:
000019BE 2F2E 000C move.l -[A7], [A6 + 0xC]
000019C2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000019C6 4EBA FDD6 jsr [PC - 0x22A /* 0000179E */]
000019CA 6014 bra +0x16 /* 000019E0 */
label000019CC:
000019CC 6700 FF76 beq -0x88 /* 00001944 */
000019D0 5300 subq.b D0, 1
000019D2 67D4 beq -0x2A /* 000019A8 */
000019D4 5500 subq.b D0, 2
000019D6 679C beq -0x62 /* 00001974 */
000019D8 5300 subq.b D0, 1
000019DA 67AE beq -0x50 /* 0000198A */
000019DC 5900 subq.b D0, 4
000019DE 67DE beq -0x20 /* 000019BE */
label000019E0:
000019E0 2F2E FFCC move.l -[A7], [A6 - 0x34]
000019E4 A873 syscall SetPort
000019E6 2F2D A636 move.l -[A7], [A5 - 0x59CA]
000019EA 486E FFE8 pea.l [A6 - 0x18]
000019EE A8DF syscall RectRgn
000019F0 206C 0010 movea.l A0, [A4 + 0x10]
000019F4 2F28 0002 move.l -[A7], [A0 + 0x2]
000019F8 4EAD 021A jsr [A5 + 0x21A /* export_63 */]
000019FC 206D FFCA movea.l A0, [A5 - 0x36]
00001A00 2F28 0002 move.l -[A7], [A0 + 0x2]
00001A04 4EAD 021A jsr [A5 + 0x21A /* export_63 */]
00001A08 206C 0010 movea.l A0, [A4 + 0x10]
00001A0C 2068 0002 movea.l A0, [A0 + 0x2]
00001A10 2F10 move.l -[A7], [A0]
00001A12 206D FFCA movea.l A0, [A5 - 0x36]
00001A16 2068 0002 movea.l A0, [A0 + 0x2]
00001A1A 2F10 move.l -[A7], [A0]
00001A1C 486C 0032 pea.l [A4 + 0x32]
00001A20 486C 003A pea.l [A4 + 0x3A]
00001A24 4267 clr.w -[A7]
00001A26 2F2D A636 move.l -[A7], [A5 - 0x59CA]
00001A2A A8EC syscall CopyBits
00001A2C 206C 0010 movea.l A0, [A4 + 0x10]
00001A30 2F28 0002 move.l -[A7], [A0 + 0x2]
00001A34 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
00001A38 206D FFCA movea.l A0, [A5 - 0x36]
00001A3C 2F28 0002 move.l -[A7], [A0 + 0x2]
00001A40 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
00001A44 4CDF 1080 movem.l D7,A4, [A7]+
00001A48 4E5E unlink A6
00001A4A 4E74 000A rtd 0x000A
00001A4E 4452 neg.w [A2]
00001A50 4157 chk.w D0, [A7]
00001A52 4F42 chk.w D7, D2
00001A54 4A45 tst.w D5
export_196:
00001A56 4E56 FFCC link A6, -0x0034
00001A5A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001A5E 486E FFEC pea.l [A6 - 0x14]
00001A62 A874 syscall GetPort
00001A64 2F2D 9338 move.l -[A7], [A5 - 0x6CC8]
00001A68 A873 syscall SetPort
00001A6A 286D 9338 movea.l A4, [A5 - 0x6CC8]
00001A6E 4247 clr.w D7
label00001A70:
00001A70 3007 move.w D0, D7
00001A72 48C0 ext.l D0
00001A74 2940 0050 move.l [A4 + 0x50], D0
00001A78 4267 clr.w -[A7]
00001A7A 3F07 move.w -[A7], D7
00001A7C A893 syscall MoveTo
00001A7E 3F3C 001E move.w -[A7], 0x1E
00001A82 3F07 move.w -[A7], D7
00001A84 A891 syscall LineTo
00001A86 3007 move.w D0, D7
00001A88 D040 add.w D0, D0
00001A8A 0640 DF76 addi.w D0, 0xDF76
00001A8E 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1
00001A94 6608 bne +0xA /* 00001A9E */
00001A96 297C 0000 00FF 0050 move.l [A4 + 0x50], 0xFF
label00001A9E:
00001A9E 3007 move.w D0, D7
00001AA0 D040 add.w D0, D0
00001AA2 0640 DF76 addi.w D0, 0xDF76
00001AA6 4A75 0000 tst.w [A5 + D0.w]
00001AAA 6604 bne +0x6 /* 00001AB0 */
00001AAC 42AC 0050 clr.l [A4 + 0x50]
label00001AB0:
00001AB0 3F3C 0018 move.w -[A7], 0x18
00001AB4 3F07 move.w -[A7], D7
00001AB6 A893 syscall MoveTo
00001AB8 3F3C 001E move.w -[A7], 0x1E
00001ABC 3F07 move.w -[A7], D7
00001ABE A891 syscall LineTo
00001AC0 5247 addq.w D7, 1
00001AC2 0C47 00FF cmpi.w D7, 0xFF
00001AC6 6FA8 ble -0x56 /* 00001A70 */
00001AC8 302D BD6E move.w D0, [A5 - 0x4292]
00001ACC 5440 addq.w D0, 2
00001ACE 3D40 FFCC move.w [A6 - 0x34], D0
00001AD2 7C01 moveq.l D6, 0x01
00001AD4 6024 bra +0x26 /* 00001AFA */
label00001AD6:
00001AD6 3006 move.w D0, D6
00001AD8 D040 add.w D0, D0
00001ADA 0640 BDB2 addi.w D0, 0xBDB2
00001ADE 3035 0000 move.w D0, [A5 + D0.w]
00001AE2 48C0 ext.l D0
00001AE4 2940 0050 move.l [A4 + 0x50], D0
00001AE8 3006 move.w D0, D6
00001AEA E740 asl D0.w, 3
00001AEC 0640 BD6C addi.w D0, 0xBD6C
00001AF0 4875 0000 pea.l [A5 + D0.w]
00001AF4 A8A2 syscall PaintRect
00001AF6 5246 addq.w D6, 1
00001AF8 6906 bvs +0x8 /* 00001B00 */
label00001AFA:
00001AFA BC6E FFCC cmp.w D6, [A6 - 0x34]
00001AFE 6FD6 ble -0x28 /* 00001AD6 */
label00001B00:
00001B00 3F3C 0001 move.w -[A7], 0x1
00001B04 A887 syscall TextFont
00001B06 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001B0A A88A syscall TextSize
00001B0C 302D BD76 move.w D0, [A5 - 0x428A]
00001B10 5640 addq.w D0, 3
00001B12 3F00 move.w -[A7], D0
00001B14 302D BD78 move.w D0, [A5 - 0x4288]
00001B18 5340 subq.w D0, 1
00001B1A 3F00 move.w -[A7], D0
00001B1C A893 syscall MoveTo
00001B1E 297C 0000 00FF 0050 move.l [A4 + 0x50], 0xFF
00001B26 487A 0044 pea.l [PC + 0x44 /* 00001B6C, value 0x5776869, pstring "white" */]
00001B2A A884 syscall DrawString
00001B2C 302D BD7E move.w D0, [A5 - 0x4282]
00001B30 5840 addq.w D0, 4
00001B32 3F00 move.w -[A7], D0
00001B34 302D BD80 move.w D0, [A5 - 0x4280]
00001B38 5340 subq.w D0, 1
00001B3A 3F00 move.w -[A7], D0
00001B3C A893 syscall MoveTo
00001B3E 486D BD7C pea.l [A5 - 0x4284]
00001B42 A8A4 syscall InvertRect
00001B44 487A 0020 pea.l [PC + 0x20 /* 00001B66, value 0x5626C61, pstring "black" */]
00001B48 A884 syscall DrawString
00001B4A 486D BD7C pea.l [A5 - 0x4284]
00001B4E A8A4 syscall InvertRect
00001B50 2F2E FFEC move.l -[A7], [A6 - 0x14]
00001B54 A873 syscall SetPort
00001B56 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001B5A 4E5E unlink A6
00001B5C 4E75 rts
00001B5E 4452 neg.w [A2]
00001B60 4157 chk.w D0, [A7]
00001B62 4C55 5420 movem.l D5,A2,A4,A6, [A5]
00001B66 0562 bchg -[A2], D2
00001B68 6C61 bge +0x63 /* 00001BCB */
00001B6A 636B bls +0x6D /* 00001BD7 */
00001B6C 0577 6869 bchg [A7 + D6 + 0x69], D2
00001B70 7465 moveq.l D2, 0x65
export_197:
00001B72 4E56 FECA link A6, -0x0136
00001B76 48E7 0308 movem.l -[A7], D6,D7,A4
00001B7A 486E FFEC pea.l [A6 - 0x14]
00001B7E A874 syscall GetPort
00001B80 2F2D 9330 move.l -[A7], [A5 - 0x6CD0]
00001B84 A873 syscall SetPort
00001B86 3F3C 00F9 move.w -[A7], 0xF9
00001B8A A887 syscall TextFont
00001B8C 3F3C 000C move.w -[A7], 0xC
00001B90 A88A syscall TextSize
00001B92 206D 9330 movea.l A0, [A5 - 0x6CD0]
00001B96 2068 0002 movea.l A0, [A0 + 0x2]
00001B9A 2050 movea.l A0, [A0]
00001B9C 4868 0006 pea.l [A0 + 0x6]
00001BA0 A8A3 syscall EraseRect
00001BA2 1D6D 9CFD FECA move.b [A6 - 0x136], [A5 - 0x6303]
00001BA8 1E2D 9CFC move.b D7, [A5 - 0x6304]
00001BAC 6032 bra +0x34 /* 00001BE0 */
label00001BAE:
00001BAE 7000 moveq.l D0, 0x00
00001BB0 1007 move.b D0, D7
00001BB2 E740 asl D0.w, 3
00001BB4 0640 9CFE addi.w D0, 0x9CFE
00001BB8 49F5 0000 lea.l A4, [A5 + D0.w]
00001BBC 302C 0002 move.w D0, [A4 + 0x2]
00001BC0 5440 addq.w D0, 2
00001BC2 3F00 move.w -[A7], D0
00001BC4 3014 move.w D0, [A4]
00001BC6 5840 addq.w D0, 4
00001BC8 3F00 move.w -[A7], D0
00001BCA A893 syscall MoveTo
00001BCC 7000 moveq.l D0, 0x00
00001BCE 1007 move.b D0, D7
00001BD0 D040 add.w D0, D0
00001BD2 0640 9D9E addi.w D0, 0x9D9E
00001BD6 3F35 0000 move.w -[A7], [A5 + D0.w]
00001BDA A883 syscall DrawChar
00001BDC 5207 addq.b D7, 1
00001BDE 6506 bcs +0x8 /* 00001BE6 */
label00001BE0:
00001BE0 BE2E FECA cmp.b D7, [A6 - 0x136]
00001BE4 63C8 bls -0x36 /* 00001BAE */
label00001BE6:
00001BE6 7000 moveq.l D0, 0x00
00001BE8 102D 9CFA move.b D0, [A5 - 0x6306]
00001BEC E740 asl D0.w, 3
00001BEE 0640 9CFE addi.w D0, 0x9CFE
00001BF2 4875 0000 pea.l [A5 + D0.w]
00001BF6 A8A4 syscall InvertRect
00001BF8 486D DD84 pea.l [A5 - 0x227C]
00001BFC AA14 syscall RGBForeColor
00001BFE 302D 9D40 move.w D0, [A5 - 0x62C0]
00001C02 5440 addq.w D0, 2
00001C04 3F00 move.w -[A7], D0
00001C06 302D 9D3E move.w D0, [A5 - 0x62C2]
00001C0A 5840 addq.w D0, 4
00001C0C 3F00 move.w -[A7], D0
00001C0E A893 syscall MoveTo
00001C10 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00001C14 A883 syscall DrawChar
00001C16 486D DD8A pea.l [A5 - 0x2276]
00001C1A AA14 syscall RGBForeColor
00001C1C 302D 9D30 move.w D0, [A5 - 0x62D0]
00001C20 5440 addq.w D0, 2
00001C22 3F00 move.w -[A7], D0
00001C24 302D 9D2E move.w D0, [A5 - 0x62D2]
00001C28 5840 addq.w D0, 4
00001C2A 3F00 move.w -[A7], D0
00001C2C A893 syscall MoveTo
00001C2E 3F3C 0066 move.w -[A7], 0x66 /* 'f' */
00001C32 A883 syscall DrawChar
00001C34 486D DD7E pea.l [A5 - 0x2282]
00001C38 AA14 syscall RGBForeColor
00001C3A 7C01 moveq.l D6, 0x01
label00001C3C:
00001C3C 3006 move.w D0, D6
00001C3E E740 asl D0.w, 3
00001C40 0640 A5F0 addi.w D0, 0xA5F0
00001C44 4875 0000 pea.l [A5 + D0.w]
00001C48 A8A2 syscall PaintRect
00001C4A 5246 addq.w D6, 1
00001C4C 0C46 0006 cmpi.w D6, 0x6
00001C50 6FEA ble -0x14 /* 00001C3C */
00001C52 4267 clr.w -[A7]
00001C54 302D A632 move.w D0, [A5 - 0x59CE]
00001C58 E740 asl D0.w, 3
00001C5A 0640 A5F0 addi.w D0, 0xA5F0
00001C5E 3035 0000 move.w D0, [A5 + D0.w]
00001C62 0640 FFF7 addi.w D0, 0xFFF7
00001C66 3F00 move.w -[A7], D0
00001C68 A893 syscall MoveTo
00001C6A 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
00001C6E A883 syscall DrawChar
00001C70 2F2E FFEC move.l -[A7], [A6 - 0x14]
00001C74 A873 syscall SetPort
00001C76 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001C7A 4E5E unlink A6
00001C7C 4E75 rts
00001C7E 4452 neg.w [A2]
00001C80 4157 chk.w D0, [A7]
00001C82 544F addq.w A7, 2
00001C84 4F4C chk.w D7, A4
export_198:
fn00001C86:
00001C86 4E56 0000 link A6, 0
00001C8A 2F0C move.l -[A7], A4
00001C8C 286D 95CA movea.l A4, [A5 - 0x6A36]
00001C90 4A2C 09E6 tst.b [A4 + 0x9E6]
00001C94 57C0 seq D0
00001C96 C02C 0A1A and.b D0, [A4 + 0xA1A]
00001C9A F22C 5400 09F2 fmove fp0, (double) [A4 + 0x9F2]
00001CA0 F23C 4838 0000 0000 0000 0000 0000 0000 fcmp fp0, (extended) (extended)0x000000000000000000000000
00001CB0 F241 0004 .extension 0x241 <<F/1/1>>, 0x0004 // unimplemented
00001CB4 C001 and.b D0, D1
00001CB6 1D40 0008 move.b [A6 + 0x8], D0
00001CBA 285F movea.l A4, [A7]+
00001CBC 4E5E unlink A6
00001CBE 4E75 rts
00001CC0 494E chk.w D4, A6
00001CC2 5645 addq.w D5, 3
00001CC4 5254 addq.w [A4], 1
00001CC6 494E chk.w D4, A6
export_199:
00001CC8 4E56 FEB4 link A6, -0x014C
00001CCC 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00001CD0 F227 E080 .fmovem 0xF227, 0xE080 // unimplemented
00001CD4 4A6D A5EC tst.w [A5 - 0x5A14]
00001CD8 5EC0 sgt D0
00001CDA 0C6D 00FF A5EE cmpi.w [A5 - 0x5A12], 0xFF
00001CE0 5DC1 slt D1
00001CE2 8001 or.b D0, D1
00001CE4 4400 neg.b D0
00001CE6 1D40 FECD move.b [A6 - 0x133], D0
00001CEA 3D7C 006E FECA move.w [A6 - 0x136], 0x6E /* 'n' */
00001CF0 7C69 moveq.l D6, 0x69
00001CF2 102D DA1B move.b D0, [A5 - 0x25E5]
00001CF6 5300 subq.b D0, 1
00001CF8 6722 beq +0x24 /* 00001D1C */
00001CFA 486E FFEC pea.l [A6 - 0x14]
00001CFE A874 syscall GetPort
00001D00 2F2D 9340 move.l -[A7], [A5 - 0x6CC0]
00001D04 A873 syscall SetPort
00001D06 206D 95CA movea.l A0, [A5 - 0x6A36]
00001D0A 4868 016E pea.l [A0 + 0x16E]
00001D0E 4EAD 094A jsr [A5 + 0x94A /* export_293 */]
00001D12 206D 9340 movea.l A0, [A5 - 0x6CC0]
00001D16 4868 0010 pea.l [A0 + 0x10]
00001D1A A8A3 syscall EraseRect
label00001D1C:
00001D1C 286D C892 movea.l A4, [A5 - 0x376E]
00001D20 362D BE24 move.w D3, [A5 - 0x41DC]
00001D24 E543 asl D3.w, 2
00001D26 41ED A1EC lea.l A0, [A5 - 0x5E14]
00001D2A 2630 3000 move.l D3, [A0 + D3.w]
00001D2E 7076 moveq.l D0, 0x76
00001D30 B680 cmp.l D3, D0
00001D32 6F00 00BC ble +0xBE /* 00001DF0 */
00001D36 302D C898 move.w D0, [A5 - 0x3768]
00001D3A E540 asl D0.w, 2
00001D3C F203 4000 fmove fp0, (int32_t) D3
00001D40 0640 0648 addi.w D0, 0x648
00001D44 F234 4020 0000 fdiv fp0, (int32_t) [A4 + D0.w]
00001D4A F23C 4838 3FFB 0000 A3D7 0A3D 70A3 D70B fcmp fp0, (extended) (extended)0x3FFB0000A3D70A3D70A3D70B
00001D5A F28D 0072 .extension 0x28D <<F/2-3/1>> // unimplemented
00001D5E 4285 clr.l D5
00001D60 426E FFEA clr.w [A6 - 0x16]
label00001D64:
00001D64 302E FFEA move.w D0, [A6 - 0x16]
00001D68 E540 asl D0.w, 2
00001D6A 0640 A1EC addi.w D0, 0xA1EC
00001D6E 2D75 0000 FFDE move.l [A6 - 0x22], [A5 + D0.w]
00001D74 302E FFEA move.w D0, [A6 - 0x16]
00001D78 B06D BE24 cmp.w D0, [A5 - 0x41DC]
00001D7C 56C0 sne D0
00001D7E BAAE FFDE cmp.l D5, [A6 - 0x22]
00001D82 5DC1 slt D1
00001D84 C001 and.b D0, D1
00001D86 6704 beq +0x6 /* 00001D8C */
00001D88 2A2E FFDE move.l D5, [A6 - 0x22]
label00001D8C:
00001D8C 526E FFEA addq.w [A6 - 0x16], 1
00001D90 0C6E 00FF FFEA cmpi.w [A6 - 0x16], 0xFF
00001D96 6FCC ble -0x32 /* 00001D64 */
00001D98 2005 move.l D0, D5
00001D9A 4C7C 0800 0000 0002 movem.l A3, 0x2
00001DA2 D085 add.l D0, D5
00001DA4 2A00 move.l D5, D0
00001DA6 BA83 cmp.l D5, D3
00001DA8 6F02 ble +0x4 /* 00001DAC */
00001DAA 2A03 move.l D5, D3
label00001DAC:
00001DAC 594F subq.w A7, 4
00001DAE 3006 move.w D0, D6
00001DB0 5540 subq.w D0, 2
00001DB2 F205 4380 fmove fp7, (int32_t) D5
00001DB6 F200 53A0 fdiv fp7, (int16_t) D0
00001DBA F22E 6B80 FEB4 fmove (extended) [A6 - 0x14C], fp7
00001DC0 486E FEB4 pea.l [A6 - 0x14C]
00001DC4 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00001DC8 F21F 4380 fmove fp7, (int32_t) [A7]+
00001DCC 6032 bra +0x34 /* 00001E00 */
00001DCE 594F subq.w A7, 4
00001DD0 3006 move.w D0, D6
00001DD2 5540 subq.w D0, 2
00001DD4 F203 4380 fmove fp7, (int32_t) D3
00001DD8 F200 53A0 fdiv fp7, (int16_t) D0
00001DDC F22E 6B80 FEB4 fmove (extended) [A6 - 0x14C], fp7
00001DE2 486E FEB4 pea.l [A6 - 0x14C]
00001DE6 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00001DEA F21F 4380 fmove fp7, (int32_t) [A7]+
00001DEE 6010 bra +0x12 /* 00001E00 */
label00001DF0:
00001DF0 F23C 4B80 3FFF 0000 8000 0000 0000 0000 fmove fp7, (extended) (extended)0x3FFF00008000000000000000
label00001E00:
00001E00 4A2E FECD tst.b [A6 - 0x133]
00001E04 6706 beq +0x8 /* 00001E0C */
00001E06 486D FFB2 pea.l [A5 - 0x4E]
00001E0A A89D syscall PenPat
label00001E0C:
00001E0C 554F subq.w A7, 2
00001E0E 4EBA FE76 jsr [PC - 0x18A /* 00001C86 */]
00001E12 4A1F tst.b [A7]+
00001E14 6764 beq +0x66 /* 00001E7A */
00001E16 4247 clr.w D7
label00001E18:
00001E18 BE6D A5EC cmp.w D7, [A5 - 0x5A14]
00001E1C 6606 bne +0x8 /* 00001E24 */
00001E1E 486D FFBA pea.l [A5 - 0x46]
00001E22 A89D syscall PenPat
label00001E24:
00001E24 303C 00FF move.w D0, 0xFF
00001E28 9047 sub.w D0, D7
00001E2A 3F00 move.w -[A7], D0
00001E2C 3F06 move.w -[A7], D6
00001E2E A893 syscall MoveTo
00001E30 303C 00FF move.w D0, 0xFF
00001E34 9047 sub.w D0, D7
00001E36 3F00 move.w -[A7], D0
00001E38 594F subq.w A7, 4
00001E3A 3007 move.w D0, D7
00001E3C E540 asl D0.w, 2
00001E3E 0640 A1EC addi.w D0, 0xA1EC
00001E42 F235 4000 0000 fmove fp0, (int32_t) [A5 + D0.w]
00001E48 F200 1C20 .fmovecr 0xF200, 0x1C20 // unimplemented
00001E4C F22E 6800 FEB4 fmove (extended) [A6 - 0x14C], fp0
00001E52 486E FEB4 pea.l [A6 - 0x14C]
00001E56 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00001E5A 3006 move.w D0, D6
00001E5C 48C0 ext.l D0
00001E5E 909F sub.l D0, [A7]+
00001E60 3F00 move.w -[A7], D0
00001E62 A891 syscall LineTo
00001E64 BE6D A5EE cmp.w D7, [A5 - 0x5A12]
00001E68 6606 bne +0x8 /* 00001E70 */
00001E6A 486D FFB2 pea.l [A5 - 0x4E]
00001E6E A89D syscall PenPat
label00001E70:
00001E70 5247 addq.w D7, 1
00001E72 0C47 00FF cmpi.w D7, 0xFF
00001E76 6FA0 ble -0x5E /* 00001E18 */
00001E78 6056 bra +0x58 /* 00001ED0 */
label00001E7A:
00001E7A 4247 clr.w D7
label00001E7C:
00001E7C BE6D A5EC cmp.w D7, [A5 - 0x5A14]
00001E80 6606 bne +0x8 /* 00001E88 */
00001E82 486D FFBA pea.l [A5 - 0x46]
00001E86 A89D syscall PenPat
label00001E88:
00001E88 3F07 move.w -[A7], D7
00001E8A 3F06 move.w -[A7], D6
00001E8C A893 syscall MoveTo
00001E8E 3F07 move.w -[A7], D7
00001E90 594F subq.w A7, 4
00001E92 3007 move.w D0, D7
00001E94 E540 asl D0.w, 2
00001E96 0640 A1EC addi.w D0, 0xA1EC
00001E9A F235 4000 0000 fmove fp0, (int32_t) [A5 + D0.w]
00001EA0 F200 1C20 .fmovecr 0xF200, 0x1C20 // unimplemented
00001EA4 F22E 6800 FEB4 fmove (extended) [A6 - 0x14C], fp0
00001EAA 486E FEB4 pea.l [A6 - 0x14C]
00001EAE 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00001EB2 3006 move.w D0, D6
00001EB4 48C0 ext.l D0
00001EB6 909F sub.l D0, [A7]+
00001EB8 3F00 move.w -[A7], D0
00001EBA A891 syscall LineTo
00001EBC BE6D A5EE cmp.w D7, [A5 - 0x5A12]
00001EC0 6606 bne +0x8 /* 00001EC8 */
00001EC2 486D FFB2 pea.l [A5 - 0x4E]
00001EC6 A89D syscall PenPat
label00001EC8:
00001EC8 5247 addq.w D7, 1
00001ECA 0C47 00FF cmpi.w D7, 0xFF
00001ECE 6FAC ble -0x52 /* 00001E7C */
label00001ED0:
00001ED0 4A2E FECD tst.b [A6 - 0x133]
00001ED4 6702 beq +0x4 /* 00001ED8 */
00001ED6 A89E syscall PenNormal
label00001ED8:
00001ED8 4247 clr.w D7
label00001EDA:
00001EDA 286D 95CA movea.l A4, [A5 - 0x6A36]
00001EDE A89E syscall PenNormal
00001EE0 383C 0100 move.w D4, 0x100
00001EE4 9847 sub.w D4, D7
00001EE6 206D 95CA movea.l A0, [A5 - 0x6A36]
00001EEA 3004 move.w D0, D4
00001EEC E740 asl D0.w, 3
00001EEE 0640 0170 addi.w D0, 0x170
00001EF2 4870 0000 pea.l [A0 + D0.w]
00001EF6 AA14 syscall RGBForeColor
00001EF8 3F04 move.w -[A7], D4
00001EFA 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
00001EFE A893 syscall MoveTo
00001F00 3F04 move.w -[A7], D4
00001F02 3F2E FECA move.w -[A7], [A6 - 0x136]
00001F06 A891 syscall LineTo
00001F08 3004 move.w D0, D4
00001F0A D040 add.w D0, D0
00001F0C 0640 DF76 addi.w D0, 0xDF76
00001F10 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1
00001F16 6618 bne +0x1A /* 00001F30 */
00001F18 206D 95CA movea.l A0, [A5 - 0x6A36]
00001F1C 4868 0968 pea.l [A0 + 0x968]
00001F20 AA14 syscall RGBForeColor
00001F22 3F04 move.w -[A7], D4
00001F24 3F2E FECA move.w -[A7], [A6 - 0x136]
00001F28 A893 syscall MoveTo
00001F2A 3F04 move.w -[A7], D4
00001F2C 3F06 move.w -[A7], D6
00001F2E A891 syscall LineTo
label00001F30:
00001F30 5247 addq.w D7, 1
00001F32 0C47 00FF cmpi.w D7, 0xFF
00001F36 6FA2 ble -0x5C /* 00001EDA */
00001F38 486D FFBA pea.l [A5 - 0x46]
00001F3C A89D syscall PenPat
00001F3E 4267 clr.w -[A7]
00001F40 3F2E FECA move.w -[A7], [A6 - 0x136]
00001F44 A893 syscall MoveTo
00001F46 3F3C 00FF move.w -[A7], 0xFF
00001F4A 3F2E FECA move.w -[A7], [A6 - 0x136]
00001F4E A891 syscall LineTo
00001F50 4267 clr.w -[A7]
00001F52 3F06 move.w -[A7], D6
00001F54 A893 syscall MoveTo
00001F56 3F3C 00FF move.w -[A7], 0xFF
00001F5A 3F06 move.w -[A7], D6
00001F5C A891 syscall LineTo
00001F5E 102D DA1B move.b D0, [A5 - 0x25E5]
00001F62 5300 subq.b D0, 1
00001F64 6706 beq +0x8 /* 00001F6C */
00001F66 2F2E FFEC move.l -[A7], [A6 - 0x14]
00001F6A A873 syscall SetPort
label00001F6C:
00001F6C F21F D001 .fmovem 0xF21F, 0xD001 // unimplemented
00001F70 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00001F74 4E5E unlink A6
00001F76 4E75 rts
00001F78 4452 neg.w [A2]
00001F7A 4157 chk.w D0, [A7]
00001F7C 4849 pea.l A1
00001F7E 5354 subq.w [A4], 1
fn00001F80:
00001F80 4E56 FE50 link A6, -0x01B0
00001F84 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00001F88 F227 E080 .fmovem 0xF227, 0xE080 // unimplemented
00001F8C 486E FFEC pea.l [A6 - 0x14]
00001F90 A874 syscall GetPort
00001F92 2F2D 9334 move.l -[A7], [A5 - 0x6CCC]
00001F96 A873 syscall SetPort
00001F98 A89E syscall PenNormal
00001F9A 486D 92E4 pea.l [A5 - 0x6D1C]
00001F9E A8A3 syscall EraseRect
00001FA0 486D 92DC pea.l [A5 - 0x6D24]
00001FA4 A8A1 syscall FrameRect
00001FA6 286D 95CA movea.l A4, [A5 - 0x6A36]
00001FAA 0C2C 0005 016C cmpi.b [A4 + 0x16C], 0x5
00001FB0 664C bne +0x4E /* 00001FFE */
00001FB2 486E FEC4 pea.l [A6 - 0x13C]
00001FB6 4EAD 099A jsr [A5 + 0x99A /* export_303 */]
00001FBA 4247 clr.w D7
label00001FBC:
00001FBC 7046 moveq.l D0, 0x46
00001FBE 9047 sub.w D0, D7
00001FC0 3D40 FFE2 move.w [A6 - 0x1E], D0
00001FC4 3007 move.w D0, D7
00001FC6 E540 asl D0.w, 2
00001FC8 7200 moveq.l D1, 0x00
00001FCA 0640 FEC4 addi.w D0, 0xFEC4
00001FCE 1236 0000 move.b D1, [A6 + D0.w]
00001FD2 48C1 ext.l D1
00001FD4 83FC 0004 divs.w D1, 0x4
00001FD8 5C41 addq.w D1, 6
00001FDA 3D41 FFE0 move.w [A6 - 0x20], D1
00001FDE 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00001FE2 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00001FE6 A893 syscall MoveTo
00001FE8 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00001FEC 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00001FF0 A891 syscall LineTo
00001FF2 5247 addq.w D7, 1
00001FF4 0C47 003F cmpi.w D7, 0x3F /* '?' */
00001FF8 6FC2 ble -0x3C /* 00001FBC */
00001FFA 6000 02E8 bra +0x2EA /* 000022E4 */
label00001FFE:
00001FFE 302C 09D2 move.w D0, [A4 + 0x9D2]
00002002 48C0 ext.l D0
00002004 81FC 0004 divs.w D0, 0x4
00002008 5E40 addq.w D0, 7
0000200A 3D40 FFDC move.w [A6 - 0x24], D0
0000200E 302C 09D4 move.w D0, [A4 + 0x9D4]
00002012 48C0 ext.l D0
00002014 81FC 0004 divs.w D0, 0x4
00002018 7245 moveq.l D1, 0x45
0000201A 9240 sub.w D1, D0
0000201C 3D41 FFD6 move.w [A6 - 0x2A], D1
00002020 302C 09D6 move.w D0, [A4 + 0x9D6]
00002024 48C0 ext.l D0
00002026 81FC 0004 divs.w D0, 0x4
0000202A 5E40 addq.w D0, 7
0000202C 3D40 FFDA move.w [A6 - 0x26], D0
00002030 302C 09D8 move.w D0, [A4 + 0x9D8]
00002034 48C0 ext.l D0
00002036 81FC 0004 divs.w D0, 0x4
0000203A 7245 moveq.l D1, 0x45
0000203C 9240 sub.w D1, D0
0000203E 3D41 FFD4 move.w [A6 - 0x2C], D1
00002042 3F3C 0007 move.w -[A7], 0x7
00002046 3F3C 0045 move.w -[A7], 0x45 /* 'E' */
0000204A A893 syscall MoveTo
0000204C 3F2E FFDC move.w -[A7], [A6 - 0x24]
00002050 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
00002054 A891 syscall LineTo
00002056 3F2E FFDA move.w -[A7], [A6 - 0x26]
0000205A 3F2E FFD4 move.w -[A7], [A6 - 0x2C]
0000205E A891 syscall LineTo
00002060 3F3C 0046 move.w -[A7], 0x46 /* 'F' */
00002064 3F3C 0006 move.w -[A7], 0x6
00002068 A891 syscall LineTo
0000206A 486E FEBC pea.l [A6 - 0x144]
0000206E 302E FFDC move.w D0, [A6 - 0x24]
00002072 5340 subq.w D0, 1
00002074 3F00 move.w -[A7], D0
00002076 302E FFD6 move.w D0, [A6 - 0x2A]
0000207A 5340 subq.w D0, 1
0000207C 3F00 move.w -[A7], D0
0000207E 302E FFDC move.w D0, [A6 - 0x24]
00002082 5440 addq.w D0, 2
00002084 3F00 move.w -[A7], D0
00002086 302E FFD6 move.w D0, [A6 - 0x2A]
0000208A 5440 addq.w D0, 2
0000208C 3F00 move.w -[A7], D0
0000208E A8A7 syscall SetRect
00002090 486E FEBC pea.l [A6 - 0x144]
00002094 A8A2 syscall PaintRect
00002096 486E FEBC pea.l [A6 - 0x144]
0000209A 302E FFDA move.w D0, [A6 - 0x26]
0000209E 5340 subq.w D0, 1
000020A0 3F00 move.w -[A7], D0
000020A2 302E FFD4 move.w D0, [A6 - 0x2C]
000020A6 5340 subq.w D0, 1
000020A8 3F00 move.w -[A7], D0
000020AA 302E FFDA move.w D0, [A6 - 0x26]
000020AE 5440 addq.w D0, 2
000020B0 3F00 move.w -[A7], D0
000020B2 302E FFD4 move.w D0, [A6 - 0x2C]
000020B6 5440 addq.w D0, 2
000020B8 3F00 move.w -[A7], D0
000020BA A8A7 syscall SetRect
000020BC 486E FEBC pea.l [A6 - 0x144]
000020C0 A8A2 syscall PaintRect
000020C2 382C 09D6 move.w D4, [A4 + 0x9D6]
000020C6 986C 09D2 sub.w D4, [A4 + 0x9D2]
000020CA 3A2C 09D8 move.w D5, [A4 + 0x9D8]
000020CE 9A6C 09D4 sub.w D5, [A4 + 0x9D4]
000020D2 3004 move.w D0, D4
000020D4 48C0 ext.l D0
000020D6 81FC 0002 divs.w D0, 0x2
000020DA D06C 09D2 add.w D0, [A4 + 0x9D2]
000020DE 3D40 FFCC move.w [A6 - 0x34], D0
000020E2 3005 move.w D0, D5
000020E4 48C0 ext.l D0
000020E6 81FC 0002 divs.w D0, 0x2
000020EA D06C 09D4 add.w D0, [A4 + 0x9D4]
000020EE 3D40 FFCA move.w [A6 - 0x36], D0
000020F2 302E FFCC move.w D0, [A6 - 0x34]
000020F6 48C0 ext.l D0
000020F8 81FC 0004 divs.w D0, 0x4
000020FC 5E40 addq.w D0, 7
000020FE 3D40 FFD8 move.w [A6 - 0x28], D0
00002102 302E FFCA move.w D0, [A6 - 0x36]
00002106 48C0 ext.l D0
00002108 81FC 0004 divs.w D0, 0x4
0000210C 7245 moveq.l D1, 0x45
0000210E 9240 sub.w D1, D0
00002110 3D41 FFD2 move.w [A6 - 0x2E], D1
00002114 486E FEBC pea.l [A6 - 0x144]
00002118 302E FFD8 move.w D0, [A6 - 0x28]
0000211C 5340 subq.w D0, 1
0000211E 3F00 move.w -[A7], D0
00002120 302E FFD2 move.w D0, [A6 - 0x2E]
00002124 5340 subq.w D0, 1
00002126 3F00 move.w -[A7], D0
00002128 302E FFD8 move.w D0, [A6 - 0x28]
0000212C 5440 addq.w D0, 2
0000212E 3F00 move.w -[A7], D0
00002130 302E FFD2 move.w D0, [A6 - 0x2E]
00002134 5440 addq.w D0, 2
00002136 3F00 move.w -[A7], D0
00002138 A8A7 syscall SetRect
0000213A 486E FEBC pea.l [A6 - 0x144]
0000213E A8A2 syscall PaintRect
00002140 7C05 moveq.l D6, 0x05
00002142 4247 clr.w D7
00002144 42AE FEA4 clr.l [A6 - 0x15C]
label00002148:
00002148 3007 move.w D0, D7
0000214A E740 asl D0.w, 3
0000214C 0640 0170 addi.w D0, 0x170
00002150 3034 0000 move.w D0, [A4 + D0.w]
00002154 48C0 ext.l D0
00002156 2D40 FEA8 move.l [A6 - 0x158], D0
0000215A 202E FEA8 move.l D0, [A6 - 0x158]
0000215E 0280 0000 FFFF andi.l D0, 0xFFFF
00002164 2D40 FEA8 move.l [A6 - 0x158], D0
00002168 202E FEA4 move.l D0, [A6 - 0x15C]
0000216C D0AE FEA8 add.l D0, [A6 - 0x158]
00002170 2D40 FEA4 move.l [A6 - 0x15C], D0
00002174 5847 addq.w D7, 4
00002176 0C47 00FF cmpi.w D7, 0xFF
0000217A 6FCC ble -0x32 /* 00002148 */
0000217C 594F subq.w A7, 4
0000217E F22E 4000 FEA4 fmove fp0, (int32_t) [A6 - 0x15C]
00002184 F23C 4020 003F C000 fdiv fp0, (int32_t) 0x3FC000
0000218C 7644 moveq.l D3, 0x44
0000218E 9646 sub.w D3, D6
00002190 F203 5080 fmove fp1, (int16_t) D3
00002194 F23C 48A8 4000 0000 8000 0000 0000 0000 fsub fp1, (extended) (extended)0x400000008000000000000000
000021A4 F200 0423 fmul fp0, fp1
000021A8 F22E 6800 FE50 fmove (extended) [A6 - 0x1B0], fp0
000021AE 486E FE50 pea.l [A6 - 0x1B0]
000021B2 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
000021B6 544F addq.w A7, 2
000021B8 361F move.w D3, [A7]+
000021BA 3B43 932C move.w [A5 - 0x6CD4], D3
000021BE 486E FEBC pea.l [A6 - 0x144]
000021C2 302D 92FE move.w D0, [A5 - 0x6D02]
000021C6 D043 add.w D0, D3
000021C8 5240 addq.w D0, 1
000021CA 3F00 move.w -[A7], D0
000021CC 302D 92FC move.w D0, [A5 - 0x6D04]
000021D0 5240 addq.w D0, 1
000021D2 3F00 move.w -[A7], D0
000021D4 302D 92FE move.w D0, [A5 - 0x6D02]
000021D8 D043 add.w D0, D3
000021DA D046 add.w D0, D6
000021DC 5240 addq.w D0, 1
000021DE 3F00 move.w -[A7], D0
000021E0 302D 92FC move.w D0, [A5 - 0x6D04]
000021E4 D046 add.w D0, D6
000021E6 5240 addq.w D0, 1
000021E8 3F00 move.w -[A7], D0
000021EA A8A7 syscall SetRect
000021EC 486D 930C pea.l [A5 - 0x6CF4]
000021F0 A8A3 syscall EraseRect
000021F2 486E FEBC pea.l [A6 - 0x144]
000021F6 A8A2 syscall PaintRect
000021F8 4A44 tst.w D4
000021FA 670A beq +0xC /* 00002206 */
000021FC F205 5380 fmove fp7, (int16_t) D5
00002200 F204 53A0 fdiv fp7, (int16_t) D4
00002204 6010 bra +0x12 /* 00002216 */
label00002206:
00002206 F23C 4B80 4008 0000 FA00 0000 0000 0000 fmove fp7, (extended) (extended)0x40080000FA00000000000000
label00002216:
00002216 F23C 4BB8 3FFF 0000 8000 0000 0000 0000 fcmp fp7, (extended) (extended)0x3FFF00008000000000000000
00002226 F28D 0038 .extension 0x28D <<F/2-3/1>> // unimplemented
0000222A 4A45 tst.w D5
0000222C 6722 beq +0x24 /* 00002250 */
0000222E F204 5380 fmove fp7, (int16_t) D4
00002232 F205 53A0 fdiv fp7, (int16_t) D5
00002236 F23C 4800 4000 0000 8000 0000 0000 0000 fmove fp0, (extended) (extended)0x400000008000000000000000
00002246 F200 1C28 .fmovecr 0xF200, 0x1C28 // unimplemented
0000224A F200 0380 fmove fp7, fp0
0000224E 6010 bra +0x12 /* 00002260 */
label00002250:
00002250 F23C 4B80 4000 0000 8000 0000 0000 0000 fmove fp7, (extended) (extended)0x400000008000000000000000
label00002260:
00002260 594F subq.w A7, 4
00002262 F200 1C00 .fmovecr 0xF200, 0x1C00 // unimplemented
00002266 F23C 4823 3FFE 0000 8000 0000 0000 0000 fmul fp0, (extended) (extended)0x3FFE00008000000000000000
00002276 7044 moveq.l D0, 0x44
00002278 9046 sub.w D0, D6
0000227A F200 5080 fmove fp1, (int16_t) D0
0000227E F23C 48A8 4000 0000 8000 0000 0000 0000 fsub fp1, (extended) (extended)0x400000008000000000000000
0000228E F200 0423 fmul fp0, fp1
00002292 F22E 6800 FE50 fmove (extended) [A6 - 0x1B0], fp0
00002298 486E FE50 pea.l [A6 - 0x1B0]
0000229C 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
000022A0 544F addq.w A7, 2
000022A2 3D5F FFC6 move.w [A6 - 0x3A], [A7]+
000022A6 486E FEBC pea.l [A6 - 0x144]
000022AA 302D 9306 move.w D0, [A5 - 0x6CFA]
000022AE D06E FFC6 add.w D0, [A6 - 0x3A]
000022B2 5240 addq.w D0, 1
000022B4 3F00 move.w -[A7], D0
000022B6 302D 9304 move.w D0, [A5 - 0x6CFC]
000022BA 5240 addq.w D0, 1
000022BC 3F00 move.w -[A7], D0
000022BE 302D 9306 move.w D0, [A5 - 0x6CFA]
000022C2 D06E FFC6 add.w D0, [A6 - 0x3A]
000022C6 D046 add.w D0, D6
000022C8 5240 addq.w D0, 1
000022CA 3F00 move.w -[A7], D0
000022CC 302D 9304 move.w D0, [A5 - 0x6CFC]
000022D0 D046 add.w D0, D6
000022D2 5240 addq.w D0, 1
000022D4 3F00 move.w -[A7], D0
000022D6 A8A7 syscall SetRect
000022D8 486D 9314 pea.l [A5 - 0x6CEC]
000022DC A8A3 syscall EraseRect
000022DE 486E FEBC pea.l [A6 - 0x144]
000022E2 A8A2 syscall PaintRect
label000022E4:
000022E4 2F2E FFEC move.l -[A7], [A6 - 0x14]
000022E8 A873 syscall SetPort
000022EA F21F D001 .fmovem 0xF21F, 0xD001 // unimplemented
000022EE 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
000022F2 4E5E unlink A6
000022F4 4E75 rts
000022F6 5550 subq.w [A0], 2
000022F8 4441 neg.w D1
000022FA 5445 addq.w D5, 2
000022FC 4752 chk.w D3, [A2]
export_200:
000022FE 4E56 FEC6 link A6, -0x013A
00002302 486E FFEC pea.l [A6 - 0x14]
00002306 A874 syscall GetPort
00002308 2F2D 9334 move.l -[A7], [A5 - 0x6CCC]
0000230C A873 syscall SetPort
0000230E A89E syscall PenNormal
00002310 3F3C 0001 move.w -[A7], 0x1
00002314 A887 syscall TextFont
00002316 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000231A A88A syscall TextSize
0000231C 302D 92FE move.w D0, [A5 - 0x6D02]
00002320 5D40 subq.w D0, 6
00002322 3F00 move.w -[A7], D0
00002324 3F2D 9300 move.w -[A7], [A5 - 0x6D00]
00002328 A893 syscall MoveTo
0000232A 3F3C 0042 move.w -[A7], 0x42 /* 'B' */
0000232E A883 syscall DrawChar
00002330 302D 9306 move.w D0, [A5 - 0x6CFA]
00002334 5D40 subq.w D0, 6
00002336 3F00 move.w -[A7], D0
00002338 3F2D 9308 move.w -[A7], [A5 - 0x6CF8]
0000233C A893 syscall MoveTo
0000233E 3F3C 0043 move.w -[A7], 0x43 /* 'C' */
00002342 A883 syscall DrawChar
00002344 486D 92FC pea.l [A5 - 0x6D04]
00002348 A8A1 syscall FrameRect
0000234A 486D 9304 pea.l [A5 - 0x6CFC]
0000234E A8A1 syscall FrameRect
00002350 486D 931C pea.l [A5 - 0x6CE4]
00002354 A8A1 syscall FrameRect
00002356 486D 9324 pea.l [A5 - 0x6CDC]
0000235A A8A1 syscall FrameRect
0000235C 3F2D 931E move.w -[A7], [A5 - 0x6CE2]
00002360 302D 931C move.w D0, [A5 - 0x6CE4]
00002364 0640 000A addi.w D0, 0xA /* '\n' */
00002368 3F00 move.w -[A7], D0
0000236A A893 syscall MoveTo
0000236C 302D 931E move.w D0, [A5 - 0x6CE2]
00002370 5A40 addq.w D0, 5
00002372 3F00 move.w -[A7], D0
00002374 302D 931C move.w D0, [A5 - 0x6CE4]
00002378 0640 000A addi.w D0, 0xA /* '\n' */
0000237C 3F00 move.w -[A7], D0
0000237E A891 syscall LineTo
00002380 302D 931E move.w D0, [A5 - 0x6CE2]
00002384 0640 000C addi.w D0, 0xC
00002388 3F00 move.w -[A7], D0
0000238A 302D 931C move.w D0, [A5 - 0x6CE4]
0000238E 5640 addq.w D0, 3
00002390 3F00 move.w -[A7], D0
00002392 A891 syscall LineTo
00002394 302D 931E move.w D0, [A5 - 0x6CE2]
00002398 0640 0011 addi.w D0, 0x11
0000239C 5340 subq.w D0, 1
0000239E 3F00 move.w -[A7], D0
000023A0 302D 931C move.w D0, [A5 - 0x6CE4]
000023A4 5640 addq.w D0, 3
000023A6 3F00 move.w -[A7], D0
000023A8 A891 syscall LineTo
000023AA 3F2D 9326 move.w -[A7], [A5 - 0x6CDA]
000023AE 302D 9324 move.w D0, [A5 - 0x6CDC]
000023B2 0640 000A addi.w D0, 0xA /* '\n' */
000023B6 3F00 move.w -[A7], D0
000023B8 A893 syscall MoveTo
000023BA 302D 9326 move.w D0, [A5 - 0x6CDA]
000023BE 5040 addq.w D0, 8
000023C0 3F00 move.w -[A7], D0
000023C2 302D 9324 move.w D0, [A5 - 0x6CDC]
000023C6 0640 000A addi.w D0, 0xA /* '\n' */
000023CA 3F00 move.w -[A7], D0
000023CC A891 syscall LineTo
000023CE 302D 9326 move.w D0, [A5 - 0x6CDA]
000023D2 5040 addq.w D0, 8
000023D4 3F00 move.w -[A7], D0
000023D6 302D 9324 move.w D0, [A5 - 0x6CDC]
000023DA 5640 addq.w D0, 3
000023DC 3F00 move.w -[A7], D0
000023DE A891 syscall LineTo
000023E0 302D 9326 move.w D0, [A5 - 0x6CDA]
000023E4 0640 0011 addi.w D0, 0x11
000023E8 5340 subq.w D0, 1
000023EA 3F00 move.w -[A7], D0
000023EC 302D 9324 move.w D0, [A5 - 0x6CDC]
000023F0 5640 addq.w D0, 3
000023F2 3F00 move.w -[A7], D0
000023F4 A891 syscall LineTo
000023F6 4EBA FB88 jsr [PC - 0x478 /* 00001F80 */]
000023FA 1B7C 0001 DD62 move.b [A5 - 0x229E], 0x1
00002400 2F2E FFEC move.l -[A7], [A6 - 0x14]
00002404 A873 syscall SetPort
00002406 4E5E unlink A6
00002408 4E75 rts
0000240A 4452 neg.w [A2]
0000240C 4157 chk.w D0, [A7]
0000240E 4752 chk.w D3, [A2]
00002410 4159 chk.w D0, [A1]+
export_201:
fn00002412:
00002412 4E56 0000 link A6, 0
00002416 2F0C move.l -[A7], A4
00002418 286D 95CA movea.l A4, [A5 - 0x6A36]
0000241C 4EAD 097A jsr [A5 + 0x97A /* export_299 */]
00002420 426C 09D2 clr.w [A4 + 0x9D2]
00002424 426C 09D4 clr.w [A4 + 0x9D4]
00002428 397C 00FF 09D6 move.w [A4 + 0x9D6], 0xFF
0000242E 397C 00FF 09D8 move.w [A4 + 0x9D8], 0xFF
00002434 397C 0100 09DA move.w [A4 + 0x9DA], 0x100
0000243A 397C 0100 09DC move.w [A4 + 0x9DC], 0x100
00002440 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
00002444 197C 0003 016C move.b [A4 + 0x16C], 0x3
0000244A 4A2D DD62 tst.b [A5 - 0x229E]
0000244E 6704 beq +0x6 /* 00002454 */
00002450 4EBA FB2E jsr [PC - 0x4D2 /* 00001F80 */]
label00002454:
00002454 1B7C 0001 BDC5 move.b [A5 - 0x423B], 0x1
0000245A 422D C864 clr.b [A5 - 0x379C]
0000245E 285F movea.l A4, [A7]+
00002460 4E5E unlink A6
00002462 4E75 rts
00002464 5245 addq.w D5, 1
00002466 5345 subq.w D5, 1
00002468 5447 addq.w D7, 2
0000246A 5241 addq.w D1, 1
fn0000246C:
0000246C 4E56 FFEE link A6, -0x0012
00002470 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00002474 3C2E 0008 move.w D6, [A6 + 0x8]
00002478 3A2E 000A move.w D5, [A6 + 0xA]
0000247C 286D 95CA movea.l A4, [A5 - 0x6A36]
00002480 4A6C 09DA tst.w [A4 + 0x9DA]
00002484 6616 bne +0x18 /* 0000249C */
00002486 3945 09D2 move.w [A4 + 0x9D2], D5
0000248A 426C 09D4 clr.w [A4 + 0x9D4]
0000248E 3945 09D6 move.w [A4 + 0x9D6], D5
00002492 397C 00FF 09D8 move.w [A4 + 0x9D8], 0xFF
00002498 6000 00F2 bra +0xF4 /* 0000258C */
label0000249C:
0000249C 4A6C 09DC tst.w [A4 + 0x9DC]
000024A0 6616 bne +0x18 /* 000024B8 */
000024A2 426C 09D2 clr.w [A4 + 0x9D2]
000024A6 3946 09D4 move.w [A4 + 0x9D4], D6
000024AA 397C 00FF 09D6 move.w [A4 + 0x9D6], 0xFF
000024B0 3946 09D8 move.w [A4 + 0x9D8], D6
000024B4 6000 00D6 bra +0xD8 /* 0000258C */
label000024B8:
000024B8 302C 09DA move.w D0, [A4 + 0x9DA]
000024BC 48C0 ext.l D0
000024BE 3206 move.w D1, D6
000024C0 48C1 ext.l D1
000024C2 4C00 1800 movem.w A3,A4, D0
000024C6 302C 09DC move.w D0, [A4 + 0x9DC]
000024CA 48C0 ext.l D0
000024CC 4C40 1801 movem.l D0,A3,A4, D0
000024D0 3005 move.w D0, D5
000024D2 48C0 ext.l D0
000024D4 9081 sub.l D0, D1
000024D6 3940 09D2 move.w [A4 + 0x9D2], D0
000024DA 3E2C 09D2 move.w D7, [A4 + 0x9D2]
000024DE 426C 09D4 clr.w [A4 + 0x9D4]
000024E2 4A6C 09D2 tst.w [A4 + 0x9D2]
000024E6 6C24 bge +0x26 /* 0000250C */
000024E8 302C 09DC move.w D0, [A4 + 0x9DC]
000024EC 48C0 ext.l D0
000024EE 322C 09D2 move.w D1, [A4 + 0x9D2]
000024F2 48C1 ext.l D1
000024F4 4C01 0800 movem.w A3, D1
000024F8 322C 09DA move.w D1, [A4 + 0x9DA]
000024FC 48C1 ext.l D1
000024FE 4C41 0800 movem.l A3, D1
00002502 4480 neg.l D0
00002504 3940 09D4 move.w [A4 + 0x9D4], D0
00002508 426C 09D2 clr.w [A4 + 0x9D2]
label0000250C:
0000250C 397C 00FF 09D8 move.w [A4 + 0x9D8], 0xFF
00002512 302C 09DA move.w D0, [A4 + 0x9DA]
00002516 48C0 ext.l D0
00002518 4C3C 0800 0000 movem.w A3, 0x0
0000251E 00FF .incomplete
00002520 322C 09DC move.w D1, [A4 + 0x9DC]
00002524 48C1 ext.l D1
00002526 4C41 0800 movem.l A3, D1
0000252A 3940 09D6 move.w [A4 + 0x9D6], D0
0000252E 4A47 tst.w D7
00002530 6C0C bge +0xE /* 0000253E */
00002532 302C 09D6 move.w D0, [A4 + 0x9D6]
00002536 D047 add.w D0, D7
00002538 3940 09D6 move.w [A4 + 0x9D6], D0
0000253C 600C bra +0xE /* 0000254A */
label0000253E:
0000253E 302C 09D6 move.w D0, [A4 + 0x9D6]
00002542 D06C 09D2 add.w D0, [A4 + 0x9D2]
00002546 3940 09D6 move.w [A4 + 0x9D6], D0
label0000254A:
0000254A 0C6C 00FF 09D6 cmpi.w [A4 + 0x9D6], 0xFF
00002550 6F30 ble +0x32 /* 00002582 */
00002552 302C 09D6 move.w D0, [A4 + 0x9D6]
00002556 0640 FF01 addi.w D0, 0xFF01
0000255A 322C 09DC move.w D1, [A4 + 0x9DC]
0000255E 48C1 ext.l D1
00002560 48C0 ext.l D0
00002562 4C01 0800 movem.w A3, D1
00002566 322C 09DA move.w D1, [A4 + 0x9DA]
0000256A 48C1 ext.l D1
0000256C 4C41 0800 movem.l A3, D1
00002570 223C 0000 00FF move.l D1, 0xFF
00002576 9280 sub.l D1, D0
00002578 3941 09D8 move.w [A4 + 0x9D8], D1
0000257C 397C 00FF 09D6 move.w [A4 + 0x9D6], 0xFF
label00002582:
00002582 4A6C 09D6 tst.w [A4 + 0x9D6]
00002586 6C04 bge +0x6 /* 0000258C */
00002588 426C 09D6 clr.w [A4 + 0x9D6]
label0000258C:
0000258C 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00002590 4E5E unlink A6
00002592 4E74 0004 rtd 0x0004
00002596 4649 not.w A1
00002598 4E44 trap 4
0000259A 454E chk.w D2, A6
0000259C 4450 neg.w [A0]
fn0000259E:
0000259E 4E56 FFEA link A6, -0x0016
000025A2 48E7 0108 movem.l -[A7], D7,A4
000025A6 286E 0008 movea.l A4, [A6 + 0x8]
000025AA 486E FFEC pea.l [A6 - 0x14]
000025AE A972 syscall GetMouse
000025B0 3E2E FFEE move.w D7, [A6 - 0x12]
000025B4 9E6D 92FE sub.w D7, [A5 - 0x6D02]
000025B8 5547 subq.w D7, 2
000025BA 4A47 tst.w D7
000025BC 6C02 bge +0x4 /* 000025C0 */
000025BE 4247 clr.w D7
label000025C0:
000025C0 302C FFEA move.w D0, [A4 - 0x16]
000025C4 5A40 addq.w D0, 5
000025C6 BE40 cmp.w D7, D0
000025C8 6F06 ble +0x8 /* 000025D0 */
000025CA 3E2C FFEA move.w D7, [A4 - 0x16]
000025CE 5A47 addq.w D7, 5
label000025D0:
000025D0 3D47 000C move.w [A6 + 0xC], D7
000025D4 4CDF 1080 movem.l D7,A4, [A7]+
000025D8 4E5E unlink A6
000025DA 4E74 0004 rtd 0x0004
000025DE 4649 not.w A1
000025E0 4E44 trap 4
000025E2 4C4F 4320 movem.l D5,A0,A1,A6, A7
fn000025E6:
000025E6 4E56 FFD8 link A6, -0x0028
000025EA 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
000025EE 286D 95CA movea.l A4, [A5 - 0x6A36]
000025F2 7605 moveq.l D3, 0x05
000025F4 7044 moveq.l D0, 0x44
000025F6 9043 sub.w D0, D3
000025F8 5540 subq.w D0, 2
000025FA 3D40 FFEA move.w [A6 - 0x16], D0
000025FE 302E FFEA move.w D0, [A6 - 0x16]
00002602 48C0 ext.l D0
00002604 81FC 0002 divs.w D0, 0x2
00002608 3D40 FFE8 move.w [A6 - 0x18], D0
0000260C 554F subq.w A7, 2
0000260E 2F0E move.l -[A7], A6
00002610 4EBA FF8C jsr [PC - 0x74 /* 0000259E */]
00002614 3D5F FFEC move.w [A6 - 0x14], [A7]+
label00002618:
00002618 3C2C 09D6 move.w D6, [A4 + 0x9D6]
0000261C 9C6C 09D2 sub.w D6, [A4 + 0x9D2]
00002620 48C6 ext.l D6
00002622 8DFC 0002 divs.w D6, 0x2
00002626 DC6C 09D2 add.w D6, [A4 + 0x9D2]
0000262A 3E2C 09D8 move.w D7, [A4 + 0x9D8]
0000262E 9E6C 09D4 sub.w D7, [A4 + 0x9D4]
00002632 48C7 ext.l D7
00002634 8FFC 0002 divs.w D7, 0x2
00002638 DE6C 09D4 add.w D7, [A4 + 0x9D4]
0000263C 554F subq.w A7, 2
0000263E 2F0E move.l -[A7], A6
00002640 4EBA FF5C jsr [PC - 0xA4 /* 0000259E */]
00002644 381F move.w D4, [A7]+
00002646 3A2D 932C move.w D5, [A5 - 0x6CD4]
0000264A 5245 addq.w D5, 1
0000264C 9A44 sub.w D5, D4
0000264E 4A6C 09DC tst.w [A4 + 0x9DC]
00002652 6712 beq +0x14 /* 00002666 */
00002654 DC45 add.w D6, D5
00002656 4A46 tst.w D6
00002658 6C02 bge +0x4 /* 0000265C */
0000265A 4246 clr.w D6
label0000265C:
0000265C 0C46 00FF cmpi.w D6, 0xFF
00002660 6F04 ble +0x6 /* 00002666 */
00002662 3C3C 00FF move.w D6, 0xFF
label00002666:
00002666 4A6C 09DA tst.w [A4 + 0x9DA]
0000266A 6712 beq +0x14 /* 0000267E */
0000266C 9E45 sub.w D7, D5
0000266E 4A47 tst.w D7
00002670 6C02 bge +0x4 /* 00002674 */
00002672 4247 clr.w D7
label00002674:
00002674 0C47 00FF cmpi.w D7, 0xFF
00002678 6F04 ble +0x6 /* 0000267E */
0000267A 3E3C 00FF move.w D7, 0xFF
label0000267E:
0000267E 3F06 move.w -[A7], D6
00002680 3F07 move.w -[A7], D7
00002682 4EBA FDE8 jsr [PC - 0x218 /* 0000246C */]
00002686 4EBA F8F8 jsr [PC - 0x708 /* 00001F80 */]
0000268A 1B7C 0001 932E move.b [A5 - 0x6CD2], 0x1
00002690 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
00002694 422D 932E clr.b [A5 - 0x6CD2]
00002698 3D44 FFEC move.w [A6 - 0x14], D4
0000269C 554F subq.w A7, 2
0000269E A974 syscall Button
000026A0 101F move.b D0, [A7]+
000026A2 5300 subq.b D0, 1
000026A4 6700 FF72 beq -0x8C /* 00002618 */
000026A8 422D BDC5 clr.b [A5 - 0x423B]
000026AC 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
000026B0 4E5E unlink A6
000026B2 4E75 rts
000026B4 4348 chk.w D1, A0
000026B6 414E chk.w D0, A6
000026B8 4745 chk.w D3, D5
000026BA 4252 clr.w [A2]
fn000026BC:
000026BC 4E56 FFC0 link A6, -0x0040
000026C0 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
000026C4 F227 E080 .fmovem 0xF227, 0xE080 // unimplemented
000026C8 286D 95CA movea.l A4, [A5 - 0x6A36]
000026CC 3D7C 0005 FFE4 move.w [A6 - 0x1C], 0x5
000026D2 7C44 moveq.l D6, 0x44
000026D4 9C6E FFE4 sub.w D6, [A6 - 0x1C]
000026D8 5546 subq.w D6, 2
000026DA 3A06 move.w D5, D6
000026DC 48C5 ext.l D5
000026DE 8BFC 0002 divs.w D5, 0x2
000026E2 362C 09DA move.w D3, [A4 + 0x9DA]
000026E6 48C3 ext.l D3
000026E8 87FC 0002 divs.w D3, 0x2
000026EC D66C 09D2 add.w D3, [A4 + 0x9D2]
000026F0 382C 09DC move.w D4, [A4 + 0x9DC]
000026F4 48C4 ext.l D4
000026F6 89FC 0002 divs.w D4, 0x2
000026FA D86C 09D4 add.w D4, [A4 + 0x9D4]
label000026FE:
000026FE 486E FFEC pea.l [A6 - 0x14]
00002702 A972 syscall GetMouse
00002704 3E2E FFEE move.w D7, [A6 - 0x12]
00002708 9E6D 9306 sub.w D7, [A5 - 0x6CFA]
0000270C 5547 subq.w D7, 2
0000270E 4A47 tst.w D7
00002710 6C02 bge +0x4 /* 00002714 */
00002712 4247 clr.w D7
label00002714:
00002714 BE46 cmp.w D7, D6
00002716 6F02 ble +0x4 /* 0000271A */
00002718 3E06 move.w D7, D6
label0000271A:
0000271A BE45 cmp.w D7, D5
0000271C 6E0A bgt +0xC /* 00002728 */
0000271E F207 5380 fmove fp7, (int16_t) D7
00002722 F205 53A0 fdiv fp7, (int16_t) D5
00002726 6022 bra +0x24 /* 0000274A */
label00002728:
00002728 BE46 cmp.w D7, D6
0000272A 6C0E bge +0x10 /* 0000273A */
0000272C 3006 move.w D0, D6
0000272E 9047 sub.w D0, D7
00002730 F205 5380 fmove fp7, (int16_t) D5
00002734 F200 53A0 fdiv fp7, (int16_t) D0
00002738 6010 bra +0x12 /* 0000274A */
label0000273A:
0000273A F23C 4B80 4008 0000 FA00 0000 0000 0000 fmove fp7, (extended) (extended)0x40080000FA00000000000000
label0000274A:
0000274A F23C 4BB8 3FFF 0000 8000 0000 0000 0000 fcmp fp7, (extended) (extended)0x3FFF00008000000000000000
0000275A F28A 002A .extension 0x28A <<F/2-3/1>> // unimplemented
0000275E 397C 00FF 09DA move.w [A4 + 0x9DA], 0xFF
00002764 594F subq.w A7, 4
00002766 F200 1C00 .fmovecr 0xF200, 0x1C00 // unimplemented
0000276A F22C 5023 09DA fmul fp0, (int16_t) [A4 + 0x9DA]
00002770 F22E 6800 FFC0 fmove (extended) [A6 - 0x40], fp0
00002776 486E FFC0 pea.l [A6 - 0x40]
0000277A 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
0000277E 544F addq.w A7, 2
00002780 395F 09DC move.w [A4 + 0x9DC], [A7]+
00002784 6026 bra +0x28 /* 000027AC */
00002786 397C 00FF 09DC move.w [A4 + 0x9DC], 0xFF
0000278C 594F subq.w A7, 4
0000278E F22C 5000 09DC fmove fp0, (int16_t) [A4 + 0x9DC]
00002794 F200 1C20 .fmovecr 0xF200, 0x1C20 // unimplemented
00002798 F22E 6800 FFC0 fmove (extended) [A6 - 0x40], fp0
0000279E 486E FFC0 pea.l [A6 - 0x40]
000027A2 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000027A6 544F addq.w A7, 2
000027A8 395F 09DA move.w [A4 + 0x9DA], [A7]+
label000027AC:
000027AC 3F03 move.w -[A7], D3
000027AE 3F04 move.w -[A7], D4
000027B0 4EBA FCBA jsr [PC - 0x346 /* 0000246C */]
000027B4 4EBA F7CA jsr [PC - 0x836 /* 00001F80 */]
000027B8 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
000027BC 554F subq.w A7, 2
000027BE A974 syscall Button
000027C0 101F move.b D0, [A7]+
000027C2 5300 subq.b D0, 1
000027C4 6700 FF38 beq -0xC6 /* 000026FE */
000027C8 422D BDC5 clr.b [A5 - 0x423B]
000027CC F21F D001 .fmovem 0xF21F, 0xD001 // unimplemented
000027D0 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
000027D4 4E5E unlink A6
000027D6 4E75 rts
000027D8 4348 chk.w D1, A0
000027DA 414E chk.w D0, A6
000027DC 4745 chk.w D3, D5
000027DE 434F chk.w D1, A7
export_202:
fn000027E0:
000027E0 4E56 0000 link A6, 0
000027E4 2F0C move.l -[A7], A4
000027E6 286D 95CA movea.l A4, [A5 - 0x6A36]
000027EA 397C 0001 09DA move.w [A4 + 0x9DA], 0x1
000027F0 397C 00FF 09DC move.w [A4 + 0x9DC], 0xFF
000027F6 397C 0080 09D2 move.w [A4 + 0x9D2], 0x80
000027FC 426C 09D4 clr.w [A4 + 0x9D4]
00002800 397C 0080 09D6 move.w [A4 + 0x9D6], 0x80
00002806 397C 00FF 09D8 move.w [A4 + 0x9D8], 0xFF
0000280C 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
00002810 4EBA F76E jsr [PC - 0x892 /* 00001F80 */]
00002814 1B7C 0001 C864 move.b [A5 - 0x379C], 0x1
0000281A 285F movea.l A4, [A7]+
0000281C 4E5E unlink A6
0000281E 4E75 rts
00002820 454E chk.w D2, A6
00002822 4142 chk.w D0, D2
00002824 4C45 5448 movem.l D3,D6,A2,A4,A6, D5
fn00002828:
00002828 4E56 0000 link A6, 0
0000282C 48E7 0018 movem.l -[A7], A3,A4
00002830 286E 0008 movea.l A4, [A6 + 0x8]
00002834 266E 000C movea.l A3, [A6 + 0xC]
00002838 302E 0012 move.w D0, [A6 + 0x12]
0000283C 5F40 subq.w D0, 7
0000283E E540 asl D0.w, 2
00002840 3680 move.w [A3], D0
00002842 4A53 tst.w [A3]
00002844 6C02 bge +0x4 /* 00002848 */
00002846 4253 clr.w [A3]
label00002848:
00002848 0C53 00FF cmpi.w [A3], 0xFF
0000284C 6F04 ble +0x6 /* 00002852 */
0000284E 36BC 00FF move.w [A3], 0xFF
label00002852:
00002852 7046 moveq.l D0, 0x46
00002854 906E 0010 sub.w D0, [A6 + 0x10]
00002858 E540 asl D0.w, 2
0000285A 3880 move.w [A4], D0
0000285C 4A54 tst.w [A4]
0000285E 6C02 bge +0x4 /* 00002862 */
00002860 4254 clr.w [A4]
label00002862:
00002862 0C54 00FF cmpi.w [A4], 0xFF
00002866 6F04 ble +0x6 /* 0000286C */
00002868 38BC 00FF move.w [A4], 0xFF
label0000286C:
0000286C 4CDF 1800 movem.l A3,A4, [A7]+
00002870 4E5E unlink A6
00002872 4E74 000C rtd 0x000C
00002876 434F chk.w D1, A7
00002878 4E56 4552 link A6, -0xFFFFBAAE
0000287C 544D addq.w A5, 2
fn0000287E:
0000287E 4E56 0000 link A6, 0
00002882 2F0C move.l -[A7], A4
00002884 286D 95CA movea.l A4, [A5 - 0x6A36]
00002888 4A6C 09D2 tst.w [A4 + 0x9D2]
0000288C 57C0 seq D0
0000288E 4A6C 09D6 tst.w [A4 + 0x9D6]
00002892 57C1 seq D1
00002894 C001 and.b D0, D1
00002896 0C6C 00FF 09D2 cmpi.w [A4 + 0x9D2], 0xFF
0000289C 57C1 seq D1
0000289E 0C6C 00FF 09D6 cmpi.w [A4 + 0x9D6], 0xFF
000028A4 57C2 seq D2
000028A6 C202 and.b D1, D2
000028A8 8001 or.b D0, D1
000028AA 670A beq +0xC /* 000028B6 */
000028AC 426C 09D4 clr.w [A4 + 0x9D4]
000028B0 397C 00FF 09D8 move.w [A4 + 0x9D8], 0xFF
label000028B6:
000028B6 285F movea.l A4, [A7]+
000028B8 4E5E unlink A6
000028BA 4E74 0004 rtd 0x0004
000028BE 444F neg.w A7
000028C0 4649 not.w A1
000028C2 5855 addq.w [A5], 4
000028C4 5020 addq.b -[A0], 8
export_203:
000028C6 4E56 FF88 link A6, -0x0078
000028CA 48E7 0308 movem.l -[A7], D6,D7,A4
000028CE 4EAD 097A jsr [A5 + 0x97A /* export_299 */]
000028D2 206D 95CA movea.l A0, [A5 - 0x6A36]
000028D6 0C28 0005 016C cmpi.b [A0 + 0x16C], 0x5
000028DC 6604 bne +0x6 /* 000028E2 */
000028DE 4EBA FB32 jsr [PC - 0x4CE /* 00002412 */]
label000028E2:
000028E2 486E FFE4 pea.l [A6 - 0x1C]
000028E6 A874 syscall GetPort
000028E8 2F2D 9334 move.l -[A7], [A5 - 0x6CCC]
000028EC A873 syscall SetPort
000028EE 486E FFD2 pea.l [A6 - 0x2E]
000028F2 A972 syscall GetMouse
000028F4 554F subq.w A7, 2
000028F6 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000028FA 486D 931C pea.l [A5 - 0x6CE4]
000028FE A8AD syscall PtInRect
00002900 4A1F tst.b [A7]+
00002902 6756 beq +0x58 /* 0000295A */
00002904 486D 931C pea.l [A5 - 0x6CE4]
00002908 A8A4 syscall InvertRect
0000290A 7E01 moveq.l D7, 0x01
0000290C 6020 bra +0x22 /* 0000292E */
label0000290E:
0000290E 486E FFD2 pea.l [A6 - 0x2E]
00002912 A972 syscall GetMouse
00002914 554F subq.w A7, 2
00002916 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
0000291A 486D 931C pea.l [A5 - 0x6CE4]
0000291E A8AD syscall PtInRect
00002920 101F move.b D0, [A7]+
00002922 5300 subq.b D0, 1
00002924 6708 beq +0xA /* 0000292E */
00002926 486D 931C pea.l [A5 - 0x6CE4]
0000292A A8A4 syscall InvertRect
0000292C 4207 clr.b D7
label0000292E:
0000292E 554F subq.w A7, 2
00002930 A974 syscall Button
00002932 101F move.b D0, [A7]+
00002934 C007 and.b D0, D7
00002936 66D6 bne -0x28 /* 0000290E */
label00002938:
00002938 554F subq.w A7, 2
0000293A A974 syscall Button
0000293C 101F move.b D0, [A7]+
0000293E 5300 subq.b D0, 1
00002940 67F6 beq -0x8 /* 00002938 */
00002942 4A07 tst.b D7
00002944 6714 beq +0x16 /* 0000295A */
00002946 486D 931C pea.l [A5 - 0x6CE4]
0000294A A8A4 syscall InvertRect
0000294C 4EBA FAC4 jsr [PC - 0x53C /* 00002412 */]
00002950 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00002954 A873 syscall SetPort
00002956 6000 029E bra +0x2A0 /* 00002BF6 */
label0000295A:
0000295A 554F subq.w A7, 2
0000295C 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00002960 486D 9324 pea.l [A5 - 0x6CDC]
00002964 A8AD syscall PtInRect
00002966 4A1F tst.b [A7]+
00002968 6756 beq +0x58 /* 000029C0 */
0000296A 486D 9324 pea.l [A5 - 0x6CDC]
0000296E A8A4 syscall InvertRect
00002970 7E01 moveq.l D7, 0x01
00002972 6020 bra +0x22 /* 00002994 */
label00002974:
00002974 486E FFD2 pea.l [A6 - 0x2E]
00002978 A972 syscall GetMouse
0000297A 554F subq.w A7, 2
0000297C 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00002980 486D 9324 pea.l [A5 - 0x6CDC]
00002984 A8AD syscall PtInRect
00002986 101F move.b D0, [A7]+
00002988 5300 subq.b D0, 1
0000298A 6708 beq +0xA /* 00002994 */
0000298C 486D 9324 pea.l [A5 - 0x6CDC]
00002990 A8A4 syscall InvertRect
00002992 4207 clr.b D7
label00002994:
00002994 554F subq.w A7, 2
00002996 A974 syscall Button
00002998 101F move.b D0, [A7]+
0000299A C007 and.b D0, D7
0000299C 66D6 bne -0x28 /* 00002974 */
label0000299E:
0000299E 554F subq.w A7, 2
000029A0 A974 syscall Button
000029A2 101F move.b D0, [A7]+
000029A4 5300 subq.b D0, 1
000029A6 67F6 beq -0x8 /* 0000299E */
000029A8 4A07 tst.b D7
000029AA 6714 beq +0x16 /* 000029C0 */
000029AC 486D 9324 pea.l [A5 - 0x6CDC]
000029B0 A8A4 syscall InvertRect
000029B2 4EBA FE2C jsr [PC - 0x1D4 /* 000027E0 */]
000029B6 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
000029BA A873 syscall SetPort
000029BC 6000 0238 bra +0x23A /* 00002BF6 */
label000029C0:
000029C0 554F subq.w A7, 2
000029C2 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000029C6 486D 92FC pea.l [A5 - 0x6D04]
000029CA A8AD syscall PtInRect
000029CC 4A1F tst.b [A7]+
000029CE 6704 beq +0x6 /* 000029D4 */
000029D0 4EBA FC14 jsr [PC - 0x3EC /* 000025E6 */]
label000029D4:
000029D4 554F subq.w A7, 2
000029D6 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
000029DA 486D 9304 pea.l [A5 - 0x6CFC]
000029DE A8AD syscall PtInRect
000029E0 4A1F tst.b [A7]+
000029E2 6704 beq +0x6 /* 000029E8 */
000029E4 4EBA FCD6 jsr [PC - 0x32A /* 000026BC */]
label000029E8:
000029E8 0C6E 004A FFD2 cmpi.w [A6 - 0x2E], 0x4A /* 'J' */
000029EE 6F1C ble +0x1E /* 00002A0C */
000029F0 206D 95CA movea.l A0, [A5 - 0x6A36]
000029F4 0C68 0001 09DA cmpi.w [A0 + 0x9DA], 0x1
000029FA 5FC0 sle D0
000029FC 4400 neg.b D0
000029FE 1B40 C864 move.b [A5 - 0x379C], D0
00002A02 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00002A06 A873 syscall SetPort
00002A08 6000 01EC bra +0x1EE /* 00002BF6 */
label00002A0C:
00002A0C 486E FFD2 pea.l [A6 - 0x2E]
00002A10 A972 syscall GetMouse
00002A12 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00002A16 486E FFE2 pea.l [A6 - 0x1E]
00002A1A 486E FFE0 pea.l [A6 - 0x20]
00002A1E 4EBA FE08 jsr [PC - 0x1F8 /* 00002828 */]
00002A22 0C6E 0018 FFE2 cmpi.w [A6 - 0x1E], 0x18
00002A28 5FC0 sle D0
00002A2A 0C6E 0020 FFE0 cmpi.w [A6 - 0x20], 0x20 /* ' ' */
00002A30 5FC1 sle D1
00002A32 8001 or.b D0, D1
00002A34 6704 beq +0x6 /* 00002A3A */
00002A36 4206 clr.b D6
00002A38 601A bra +0x1C /* 00002A54 */
label00002A3A:
00002A3A 0C6E 00E0 FFE2 cmpi.w [A6 - 0x1E], 0xE0
00002A40 5CC0 sge D0
00002A42 0C6E 00E8 FFE0 cmpi.w [A6 - 0x20], 0xE8
00002A48 5CC1 sge D1
00002A4A 8001 or.b D0, D1
00002A4C 6704 beq +0x6 /* 00002A52 */
00002A4E 7C01 moveq.l D6, 0x01
00002A50 6002 bra +0x4 /* 00002A54 */
label00002A52:
00002A52 7C02 moveq.l D6, 0x02
label00002A54:
00002A54 0C06 0002 cmpi.b D6, 0x2
00002A58 57C0 seq D0
00002A5A C02D C864 and.b D0, [A5 - 0x379C]
00002A5E 6712 beq +0x14 /* 00002A72 */
00002A60 487A 01B2 pea.l [PC + 0x1B2 /* 00002C14, value 0x7546872, pstring "Thresh:" */]
00002A64 487A 01AC pea.l [PC + 0x1AC /* 00002C12, value 0x120754, cstring "" */]
00002A68 487A 01A6 pea.l [PC + 0x1A6 /* 00002C10, value 0x160012, cstring "" */]
00002A6C 4EBA 0648 jsr [PC + 0x648 /* 000030B6 */]
00002A70 6010 bra +0x12 /* 00002A82 */
label00002A72:
00002A72 487A 0198 pea.l [PC + 0x198 /* 00002C0C, value 0x2583A12, pstring "X:" */]
00002A76 487A 0190 pea.l [PC + 0x190 /* 00002C08, value 0x2593A12, pstring "Y:" */]
00002A7A 487A 018A pea.l [PC + 0x18A /* 00002C06, value 0x160259, cstring "" */]
00002A7E 4EBA 0636 jsr [PC + 0x636 /* 000030B6 */]
label00002A82:
00002A82 286D 95CA movea.l A4, [A5 - 0x6A36]
00002A86 1006 move.b D0, D6
00002A88 6000 0108 bra +0x10A /* 00002B92 */
label00002A8C:
00002A8C 302E FFE2 move.w D0, [A6 - 0x1E]
00002A90 B06E FFE0 cmp.w D0, [A6 - 0x20]
00002A94 6F06 ble +0x8 /* 00002A9C */
00002A96 426E FFE0 clr.w [A6 - 0x20]
00002A9A 6004 bra +0x6 /* 00002AA0 */
label00002A9C:
00002A9C 426E FFE2 clr.w [A6 - 0x1E]
label00002AA0:
00002AA0 396E FFE2 09D2 move.w [A4 + 0x9D2], [A6 - 0x1E]
00002AA6 302C 09D2 move.w D0, [A4 + 0x9D2]
00002AAA B06C 09D6 cmp.w D0, [A4 + 0x9D6]
00002AAE 6F06 ble +0x8 /* 00002AB6 */
00002AB0 396C 09D2 09D6 move.w [A4 + 0x9D6], [A4 + 0x9D2]
label00002AB6:
00002AB6 396E FFE0 09D4 move.w [A4 + 0x9D4], [A6 - 0x20]
00002ABC 302C 09D4 move.w D0, [A4 + 0x9D4]
00002AC0 B06C 09D8 cmp.w D0, [A4 + 0x9D8]
00002AC4 6F06 ble +0x8 /* 00002ACC */
00002AC6 396C 09D4 09D8 move.w [A4 + 0x9D8], [A4 + 0x9D4]
label00002ACC:
00002ACC 2F0E move.l -[A7], A6
00002ACE 4EBA FDAE jsr [PC - 0x252 /* 0000287E */]
00002AD2 302C 09D2 move.w D0, [A4 + 0x9D2]
00002AD6 48C0 ext.l D0
00002AD8 2F00 move.l -[A7], D0
00002ADA 302C 09D4 move.w D0, [A4 + 0x9D4]
00002ADE 48C0 ext.l D0
00002AE0 2F00 move.l -[A7], D0
00002AE2 4EAD 0A6A jsr [A5 + 0xA6A /* export_329 */]
00002AE6 6000 00B8 bra +0xBA /* 00002BA0 */
label00002AEA:
00002AEA 302E FFE2 move.w D0, [A6 - 0x1E]
00002AEE B06E FFE0 cmp.w D0, [A6 - 0x20]
00002AF2 6F08 ble +0xA /* 00002AFC */
00002AF4 3D7C 00FF FFE2 move.w [A6 - 0x1E], 0xFF
00002AFA 6006 bra +0x8 /* 00002B02 */
label00002AFC:
00002AFC 3D7C 00FF FFE0 move.w [A6 - 0x20], 0xFF
label00002B02:
00002B02 396E FFE2 09D6 move.w [A4 + 0x9D6], [A6 - 0x1E]
00002B08 302C 09D6 move.w D0, [A4 + 0x9D6]
00002B0C B06C 09D2 cmp.w D0, [A4 + 0x9D2]
00002B10 6C06 bge +0x8 /* 00002B18 */
00002B12 396C 09D6 09D2 move.w [A4 + 0x9D2], [A4 + 0x9D6]
label00002B18:
00002B18 396E FFE0 09D8 move.w [A4 + 0x9D8], [A6 - 0x20]
00002B1E 302C 09D8 move.w D0, [A4 + 0x9D8]
00002B22 B06C 09D4 cmp.w D0, [A4 + 0x9D4]
00002B26 6C06 bge +0x8 /* 00002B2E */
00002B28 396C 09D8 09D4 move.w [A4 + 0x9D4], [A4 + 0x9D8]
label00002B2E:
00002B2E 2F0E move.l -[A7], A6
00002B30 4EBA FD4C jsr [PC - 0x2B4 /* 0000287E */]
00002B34 302C 09D6 move.w D0, [A4 + 0x9D6]
00002B38 48C0 ext.l D0
00002B3A 2F00 move.l -[A7], D0
00002B3C 302C 09D8 move.w D0, [A4 + 0x9D8]
00002B40 48C0 ext.l D0
00002B42 2F00 move.l -[A7], D0
00002B44 4EAD 0A6A jsr [A5 + 0xA6A /* export_329 */]
00002B48 6056 bra +0x58 /* 00002BA0 */
label00002B4A:
00002B4A 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002B4E 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00002B52 4EBA F918 jsr [PC - 0x6E8 /* 0000246C */]
00002B56 4A2D C864 tst.b [A5 - 0x379C]
00002B5A 6744 beq +0x46 /* 00002BA0 */
00002B5C 303C 00FF move.w D0, 0xFF
00002B60 906C 09D2 sub.w D0, [A4 + 0x9D2]
00002B64 F200 5000 fmove fp0, (int16_t) D0
00002B68 F22E 6800 FF94 fmove (extended) [A6 - 0x6C], fp0
00002B6E 486E FF94 pea.l [A6 - 0x6C]
00002B72 F23C 4800 C012 0000 C549 0000 0000 0000 fmove fp0, (extended) (extended)0xC0120000C549000000000000
00002B82 F22E 6800 FF88 fmove (extended) [A6 - 0x78], fp0
00002B88 486E FF88 pea.l [A6 - 0x78]
00002B8C 4EAD 0A5A jsr [A5 + 0xA5A /* export_327 */]
00002B90 600E bra +0x10 /* 00002BA0 */
label00002B92:
00002B92 6700 FEF8 beq -0x106 /* 00002A8C */
00002B96 5300 subq.b D0, 1
00002B98 6700 FF50 beq -0xAE /* 00002AEA */
00002B9C 5300 subq.b D0, 1
00002B9E 67AA beq -0x54 /* 00002B4A */
label00002BA0:
00002BA0 4EBA F3DE jsr [PC - 0xC22 /* 00001F80 */]
00002BA4 0C06 0002 cmpi.b D6, 0x2
00002BA8 57C0 seq D0
00002BAA 4400 neg.b D0
00002BAC 1B40 932E move.b [A5 - 0x6CD2], D0
00002BB0 4EAD 09AA jsr [A5 + 0x9AA /* export_305 */]
00002BB4 422D 932E clr.b [A5 - 0x6CD2]
00002BB8 486E FFD2 pea.l [A6 - 0x2E]
00002BBC A972 syscall GetMouse
00002BBE 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00002BC2 486E FFE2 pea.l [A6 - 0x1E]
00002BC6 486E FFE0 pea.l [A6 - 0x20]
00002BCA 4EBA FC5C jsr [PC - 0x3A4 /* 00002828 */]
00002BCE 554F subq.w A7, 2
00002BD0 A974 syscall Button
00002BD2 101F move.b D0, [A7]+
00002BD4 5300 subq.b D0, 1
00002BD6 6700 FEAA beq -0x154 /* 00002A82 */
00002BDA 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00002BDE A873 syscall SetPort
00002BE0 422D BDC5 clr.b [A5 - 0x423B]
00002BE4 206D 95CA movea.l A0, [A5 - 0x6A36]
00002BE8 0C68 0001 09DA cmpi.w [A0 + 0x9DA], 0x1
00002BEE 5FC0 sle D0
00002BF0 4400 neg.b D0
00002BF2 1B40 C864 move.b [A5 - 0x379C], D0
label00002BF6:
00002BF6 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00002BFA 4E5E unlink A6
00002BFC 4E75 rts
00002BFE 444F neg.w A7
00002C00 4D4F chk.w D6, A7
00002C02 5553 subq.w [A3], 2
00002C04 4544 chk.w D2, D4
00002C06 0016 0259 ori.b [A6], 0x59 /* 'Y' */
00002C0A 3A12 move.w D5, [A2]
00002C0C 0258 3A12 andi.w [A0]+, 0x3A12
00002C10 0016 0012 ori.b [A6], 0x12
00002C14 0754 bchg [A4], D3
00002C16 6872 bvc +0x74 /* 00002C8A */
00002C18 6573 bcs +0x75 /* 00002C8D */
00002C1A 683A bvc +0x3C /* 00002C56 */
export_204:
00002C1C 4E56 FFEE link A6, -0x0012
00002C20 2F07 move.l -[A7], D7
00002C22 206D 95CA movea.l A0, [A5 - 0x6A36]
00002C26 3E28 00A2 move.w D7, [A0 + 0xA2]
00002C2A 5247 addq.w D7, 1
00002C2C BE6D 9DF6 cmp.w D7, [A5 - 0x620A]
00002C30 6F02 ble +0x4 /* 00002C34 */
00002C32 7E01 moveq.l D7, 0x01
label00002C34:
00002C34 3007 move.w D0, D7
00002C36 E540 asl D0.w, 2
00002C38 0640 9DF4 addi.w D0, 0x9DF4
00002C3C 2F35 0000 move.l -[A7], [A5 + D0.w]
00002C40 A91F syscall SelectWindow
00002C42 2E1F move.l D7, [A7]+
00002C44 4E5E unlink A6
00002C46 4E75 rts
00002C48 5348 subq.w A0, 1
00002C4A 4F57 chk.w D7, [A7]
00002C4C 4E45 trap 5
00002C4E 5854 addq.w [A4], 4
export_205:
00002C50 4E56 FFE4 link A6, -0x001C
00002C54 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
// begin alternate branch 00002C56-00002C58
label00002C56:
00002C56 1F08 move.b -[A7], A0
// end alternate branch 00002C56-00002C58
label00002C56: // (misaligned)
00002C58 3C2D B30A move.w D6, [A5 - 0x4CF6]
00002C5C 3E2D B30C move.w D7, [A5 - 0x4CF4]
00002C60 554F subq.w A7, 2
00002C62 4EAD 08E2 jsr [A5 + 0x8E2 /* export_280 */]
00002C66 101F move.b D0, [A7]+
00002C68 5300 subq.b D0, 1
00002C6A 4400 neg.b D0
00002C6C 1D40 FFE5 move.b [A6 - 0x1B], D0
00002C70 3A2D 9DF6 move.w D5, [A5 - 0x620A]
00002C74 6000 00F8 bra +0xFA /* 00002D6E */
label00002C78:
00002C78 3005 move.w D0, D5
00002C7A E540 asl D0.w, 2
00002C7C 0640 9DF4 addi.w D0, 0x9DF4
00002C80 2075 0000 movea.l A0, [A5 + D0.w]
00002C84 2B68 0098 95CA move.l [A5 - 0x6A36], [A0 + 0x98]
label00002C8A:
00002C8A 206D 95CA movea.l A0, [A5 - 0x6A36]
00002C8E 0C28 000C 009C cmpi.b [A0 + 0x9C], 0xC
00002C94 6700 00D6 beq +0xD8 /* 00002D6C */
00002C98 286D 95CA movea.l A4, [A5 - 0x6A36]
00002C9C 2F2C 009E move.l -[A7], [A4 + 0x9E]
00002CA0 A916 syscall HideWindow
00002CA2 422C 00A4 clr.b [A4 + 0xA4]
00002CA6 4A2E FFE5 tst.b [A6 - 0x1B]
00002CAA 670E beq +0x10 /* 00002CBA */
00002CAC 41EC 0042 lea.l A0, [A4 + 0x42]
00002CB0 43EC 003A lea.l A1, [A4 + 0x3A]
00002CB4 22D8 move.l [A1]+, [A0]+
00002CB6 22D8 move.l [A1]+, [A0]+
00002CB8 6038 bra +0x3A /* 00002CF2 */
label00002CBA:
00002CBA 362C 0002 move.w D3, [A4 + 0x2]
00002CBE 3006 move.w D0, D6
00002CC0 D043 add.w D0, D3
00002CC2 B06D A1E0 cmp.w D0, [A5 - 0x5E20]
00002CC6 6F08 ble +0xA /* 00002CD0 */
00002CC8 362D A1E0 move.w D3, [A5 - 0x5E20]
00002CCC 9646 sub.w D3, D6
00002CCE 5B43 subq.w D3, 5
label00002CD0:
00002CD0 3814 move.w D4, [A4]
00002CD2 3007 move.w D0, D7
00002CD4 D044 add.w D0, D4
00002CD6 B06D A1E2 cmp.w D0, [A5 - 0x5E1E]
00002CDA 6F08 ble +0xA /* 00002CE4 */
00002CDC 382D A1E2 move.w D4, [A5 - 0x5E1E]
00002CE0 9847 sub.w D4, D7
00002CE2 5B44 subq.w D4, 5
label00002CE4:
00002CE4 486C 003A pea.l [A4 + 0x3A]
00002CE8 4267 clr.w -[A7]
00002CEA 4267 clr.w -[A7]
00002CEC 3F03 move.w -[A7], D3
00002CEE 3F04 move.w -[A7], D4
00002CF0 A8A7 syscall SetRect
label00002CF2:
00002CF2 41EC 003A lea.l A0, [A4 + 0x3A]
00002CF6 43EC 0032 lea.l A1, [A4 + 0x32]
00002CFA 22D8 move.l [A1]+, [A0]+
00002CFC 22D8 move.l [A1]+, [A0]+
00002CFE 4EAD 0AD2 jsr [A5 + 0xAD2 /* export_342 */]
00002D02 F23C 4800 3FFF 0000 8000 0000 0000 0000 fmove fp0, (extended) (extended)0x3FFF00008000000000000000
00002D12 F22C 6800 008E fmove (extended) [A4 + 0x8E], fp0
00002D18 BA6D 9DF6 cmp.w D5, [A5 - 0x620A]
00002D1C 6608 bne +0xA /* 00002D26 */
00002D1E 2F2C 009E move.l -[A7], [A4 + 0x9E]
00002D22 4EAD 0B6A jsr [A5 + 0xB6A /* export_361 */]
label00002D26:
00002D26 2F2C 009E move.l -[A7], [A4 + 0x9E]
00002D2A 3F2C 0040 move.w -[A7], [A4 + 0x40]
00002D2E 3F2C 003E move.w -[A7], [A4 + 0x3E]
00002D32 1F3C 0001 move.b -[A7], 0x1
00002D36 A91D syscall SizeWindow
00002D38 2F2C 009E move.l -[A7], [A4 + 0x9E]
00002D3C 3F06 move.w -[A7], D6
00002D3E 3F07 move.w -[A7], D7
00002D40 1F3C 0001 move.b -[A7], 0x1
00002D44 A91B syscall MoveWindow
00002D46 2F2C 009E move.l -[A7], [A4 + 0x9E]
00002D4A A915 syscall ShowWindow
00002D4C 4EAD 0B72 jsr [A5 + 0xB72 /* export_362 */]
00002D50 4A2E FFE5 tst.b [A6 - 0x1B]
00002D54 6716 beq +0x18 /* 00002D6C */
00002D56 5046 addq.w D6, 8
00002D58 0647 0010 addi.w D7, 0x10
00002D5C 3007 move.w D0, D7
00002D5E 0640 0028 addi.w D0, 0x28 /* '(' */
00002D62 B06D A1E2 cmp.w D0, [A5 - 0x5E1E]
00002D66 6F04 ble +0x6 /* 00002D6C */
00002D68 3E2D B30C move.w D7, [A5 - 0x4CF4]
label00002D6C:
00002D6C 5345 subq.w D5, 1
label00002D6E:
00002D6E 0C45 0001 cmpi.w D5, 0x1
00002D72 6C00 FF04 bge -0xFA /* 00002C78 */
00002D76 3B6D B30A B30E move.w [A5 - 0x4CF2], [A5 - 0x4CF6]
00002D7C 3B6D B30C B310 move.w [A5 - 0x4CF0], [A5 - 0x4CF4]
00002D82 422D DA12 clr.b [A5 - 0x25EE]
00002D86 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00002D8A 4E5E unlink A6
00002D8C 4E75 rts
00002D8E 5354 subq.w [A4], 1
00002D90 4143 chk.w D0, D3
00002D92 4B57 chk.w D5, [A7]
00002D94 494E chk.w D4, A6
export_206:
00002D96 4E56 FBDC link A6, -0x0424
00002D9A 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002D9E 3B6D B30A B30E move.w [A5 - 0x4CF2], [A5 - 0x4CF6]
00002DA4 3B6D B30C B310 move.w [A5 - 0x4CF0], [A5 - 0x4CF4]
00002DAA 3E3C 7FFF move.w D7, 0x7FFF
00002DAE 3C3C 7FFF move.w D6, 0x7FFF
00002DB2 3D6D 9DF6 FBE6 move.w [A6 - 0x41A], [A5 - 0x620A]
00002DB8 7A01 moveq.l D5, 0x01
00002DBA 6042 bra +0x44 /* 00002DFE */
label00002DBC:
00002DBC 3005 move.w D0, D5
00002DBE E540 asl D0.w, 2
00002DC0 0640 9DF4 addi.w D0, 0x9DF4
00002DC4 2075 0000 movea.l A0, [A5 + D0.w]
00002DC8 3005 move.w D0, D5
00002DCA E540 asl D0.w, 2
00002DCC 0640 FBEE addi.w D0, 0xFBEE
00002DD0 2DA8 0098 0000 move.l [A6 + D0.w], [A0 + 0x98]
00002DD6 3005 move.w D0, D5
00002DD8 E540 asl D0.w, 2
00002DDA 0640 FBEE addi.w D0, 0xFBEE
00002DDE 2076 0000 movea.l A0, [A6 + D0.w]
00002DE2 49E8 0014 lea.l A4, [A0 + 0x14]
00002DE6 BE6C 0006 cmp.w D7, [A4 + 0x6]
00002DEA 6F04 ble +0x6 /* 00002DF0 */
00002DEC 3E2C 0006 move.w D7, [A4 + 0x6]
label00002DF0:
00002DF0 BC6C 0004 cmp.w D6, [A4 + 0x4]
00002DF4 6F04 ble +0x6 /* 00002DFA */
00002DF6 3C2C 0004 move.w D6, [A4 + 0x4]
label00002DFA:
00002DFA 5245 addq.w D5, 1
00002DFC 6906 bvs +0x8 /* 00002E04 */
label00002DFE:
00002DFE BA6E FBE6 cmp.w D5, [A6 - 0x41A]
00002E02 6FB8 ble -0x46 /* 00002DBC */
label00002E04:
00002E04 3D47 FFDC move.w [A6 - 0x24], D7
00002E08 3D46 FFDA move.w [A6 - 0x26], D6
00002E0C 302D A1E0 move.w D0, [A5 - 0x5E20]
00002E10 906D B30E sub.w D0, [A5 - 0x4CF2]
00002E14 5940 subq.w D0, 4
00002E16 3D40 FFE4 move.w [A6 - 0x1C], D0
00002E1A BE6E FFE4 cmp.w D7, [A6 - 0x1C]
00002E1E 6F04 ble +0x6 /* 00002E24 */
00002E20 3E2E FFE4 move.w D7, [A6 - 0x1C]
label00002E24:
00002E24 302D A1E2 move.w D0, [A5 - 0x5E1E]
00002E28 906D B310 sub.w D0, [A5 - 0x4CF0]
00002E2C 0640 FFEC addi.w D0, 0xFFEC
00002E30 3D40 FFE2 move.w [A6 - 0x1E], D0
00002E34 BC6E FFE2 cmp.w D6, [A6 - 0x1E]
00002E38 6F04 ble +0x6 /* 00002E3E */
00002E3A 3C2E FFE2 move.w D6, [A6 - 0x1E]
label00002E3E:
00002E3E 382D B30E move.w D4, [A5 - 0x4CF2]
00002E42 362D B310 move.w D3, [A5 - 0x4CF0]
00002E46 1D7C 0001 FBE9 move.b [A6 - 0x417], 0x1
00002E4C 4245 clr.w D5
label00002E4E:
00002E4E 5245 addq.w D5, 1
00002E50 3004 move.w D0, D4
00002E52 D047 add.w D0, D7
00002E54 B06D A1E0 cmp.w D0, [A5 - 0x5E20]
00002E58 6F18 ble +0x1A /* 00002E72 */
00002E5A 382D B30E move.w D4, [A5 - 0x4CF2]
00002E5E 0643 0014 addi.w D3, 0x14
00002E62 D646 add.w D3, D6
00002E64 3003 move.w D0, D3
00002E66 D046 add.w D0, D6
00002E68 B06D A1E2 cmp.w D0, [A5 - 0x5E1E]
00002E6C 6F04 ble +0x6 /* 00002E72 */
00002E6E 422E FBE9 clr.b [A6 - 0x417]
label00002E72:
00002E72 D847 add.w D4, D7
00002E74 5444 addq.w D4, 2
00002E76 4A2E FBE9 tst.b [A6 - 0x417]
00002E7A 57C0 seq D0
00002E7C BA6D 9DF6 cmp.w D5, [A5 - 0x620A]
00002E80 57C1 seq D1
00002E82 8001 or.b D0, D1
00002E84 67C8 beq -0x36 /* 00002E4E */
00002E86 4A2E FBE9 tst.b [A6 - 0x417]
00002E8A 6650 bne +0x52 /* 00002EDC */
00002E8C 594F subq.w A7, 4
00002E8E F207 5000 fmove fp0, (int16_t) D7
00002E92 F23C 4823 3FFE 0000 FAE1 47AE 147A E147 fmul fp0, (extended) (extended)0x3FFE0000FAE147AE147AE147
00002EA2 F22E 6800 FBDC fmove (extended) [A6 - 0x424], fp0
00002EA8 486E FBDC pea.l [A6 - 0x424]
00002EAC 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002EB0 544F addq.w A7, 2
00002EB2 3E1F move.w D7, [A7]+
00002EB4 594F subq.w A7, 4
00002EB6 F206 5000 fmove fp0, (int16_t) D6
00002EBA F23C 4823 3FFE 0000 FAE1 47AE 147A E147 fmul fp0, (extended) (extended)0x3FFE0000FAE147AE147AE147
00002ECA F22E 6800 FBDC fmove (extended) [A6 - 0x424], fp0
00002ED0 486E FBDC pea.l [A6 - 0x424]
00002ED4 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002ED8 544F addq.w A7, 2
00002EDA 3C1F move.w D6, [A7]+
label00002EDC:
00002EDC 4A2E FBE9 tst.b [A6 - 0x417]
00002EE0 6700 FF5C beq -0xA2 /* 00002E3E */
00002EE4 302D A1E0 move.w D0, [A5 - 0x5E20]
00002EE8 906D B30E sub.w D0, [A5 - 0x4CF2]
00002EEC 3207 move.w D1, D7
00002EEE 5441 addq.w D1, 2
00002EF0 48C0 ext.l D0
00002EF2 81C1 divs.w D0, D1
00002EF4 3D40 FFDE move.w [A6 - 0x22], D0
00002EF8 302D 9DF6 move.w D0, [A5 - 0x620A]
00002EFC 48C0 ext.l D0
00002EFE 81EE FFDE divs.w D0, [A6 - 0x22]
00002F02 3D40 FFE0 move.w [A6 - 0x20], D0
00002F06 302D 9DF6 move.w D0, [A5 - 0x620A]
00002F0A 48C0 ext.l D0
00002F0C 81EE FFDE divs.w D0, [A6 - 0x22]
00002F10 4840 swap.w D0
00002F12 4A40 tst.w D0
00002F14 670A beq +0xC /* 00002F20 */
00002F16 302E FFE0 move.w D0, [A6 - 0x20]
00002F1A 5240 addq.w D0, 1
00002F1C 3D40 FFE0 move.w [A6 - 0x20], D0
label00002F20:
00002F20 102D DD74 move.b D0, [A5 - 0x228C]
00002F24 5300 subq.b D0, 1
00002F26 676A beq +0x6C /* 00002F92 */
00002F28 594F subq.w A7, 4
00002F2A 3E2D A1E0 move.w D7, [A5 - 0x5E20]
00002F2E 9E6D B30E sub.w D7, [A5 - 0x4CF2]
00002F32 F207 5000 fmove fp0, (int16_t) D7
00002F36 F22E 5020 FFDE fdiv fp0, (int16_t) [A6 - 0x22]
00002F3C F22E 6800 FBDC fmove (extended) [A6 - 0x424], fp0
00002F42 486E FBDC pea.l [A6 - 0x424]
00002F46 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002F4A 544F addq.w A7, 2
00002F4C 3E1F move.w D7, [A7]+
00002F4E 5547 subq.w D7, 2
00002F50 5347 subq.w D7, 1
00002F52 594F subq.w A7, 4
00002F54 3C2D A1E2 move.w D6, [A5 - 0x5E1E]
00002F58 9C6D B310 sub.w D6, [A5 - 0x4CF0]
00002F5C F206 5000 fmove fp0, (int16_t) D6
00002F60 F22E 5020 FFE0 fdiv fp0, (int16_t) [A6 - 0x20]
00002F66 F22E 6800 FBDC fmove (extended) [A6 - 0x424], fp0
00002F6C 486E FBDC pea.l [A6 - 0x424]
00002F70 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002F74 544F addq.w A7, 2
00002F76 3C1F move.w D6, [A7]+
00002F78 0646 FFEC addi.w D6, 0xFFEC
00002F7C 5646 addq.w D6, 3
00002F7E BE6E FFDC cmp.w D7, [A6 - 0x24]
00002F82 6F04 ble +0x6 /* 00002F88 */
00002F84 3E2E FFDC move.w D7, [A6 - 0x24]
label00002F88:
00002F88 BC6E FFDA cmp.w D6, [A6 - 0x26]
00002F8C 6F04 ble +0x6 /* 00002F92 */
00002F8E 3C2E FFDA move.w D6, [A6 - 0x26]
label00002F92:
00002F92 382D B30E move.w D4, [A5 - 0x4CF2]
00002F96 362D B310 move.w D3, [A5 - 0x4CF0]
00002F9A 3D6D 9DF6 FBE6 move.w [A6 - 0x41A], [A5 - 0x620A]
00002FA0 7A01 moveq.l D5, 0x01
00002FA2 6000 00F6 bra +0xF8 /* 0000309A */
label00002FA6:
00002FA6 3004 move.w D0, D4
00002FA8 D047 add.w D0, D7
00002FAA B06D A1E0 cmp.w D0, [A5 - 0x5E20]
00002FAE 6F0A ble +0xC /* 00002FBA */
00002FB0 382D B30E move.w D4, [A5 - 0x4CF2]
00002FB4 0643 0014 addi.w D3, 0x14
00002FB8 D646 add.w D3, D6
label00002FBA:
00002FBA 3005 move.w D0, D5
00002FBC E540 asl D0.w, 2
00002FBE 0640 FBEE addi.w D0, 0xFBEE
00002FC2 2B76 0000 95CA move.l [A5 - 0x6A36], [A6 + D0.w]
00002FC8 206D 95CA movea.l A0, [A5 - 0x6A36]
00002FCC 0C28 000C 009C cmpi.b [A0 + 0x9C], 0xC
00002FD2 6700 00C2 beq +0xC4 /* 00003096 */
00002FD6 286D 95CA movea.l A4, [A5 - 0x6A36]
00002FDA 486C 003A pea.l [A4 + 0x3A]
00002FDE 4267 clr.w -[A7]
00002FE0 4267 clr.w -[A7]
00002FE2 3F07 move.w -[A7], D7
00002FE4 3F06 move.w -[A7], D6
00002FE6 A8A7 syscall SetRect
00002FE8 4A2C 00A4 tst.b [A4 + 0xA4]
00002FEC 6720 beq +0x22 /* 0000300E */
00002FEE 422C 00A4 clr.b [A4 + 0xA4]
00002FF2 41EC 003A lea.l A0, [A4 + 0x3A]
00002FF6 43EC 0032 lea.l A1, [A4 + 0x32]
00002FFA 22D8 move.l [A1]+, [A0]+
00002FFC 22D8 move.l [A1]+, [A0]+
00002FFE F23C 5000 0001 fmove fp0, (int16_t) 0x1
00003004 F22C 6800 008E fmove (extended) [A4 + 0x8E], fp0
0000300A 422C 0A1C clr.b [A4 + 0xA1C]
label0000300E:
0000300E 4A2D DD74 tst.b [A5 - 0x228C]
00003012 6722 beq +0x24 /* 00003036 */
00003014 197C 0001 00A4 move.b [A4 + 0xA4], 0x1
0000301A 41EC 0014 lea.l A0, [A4 + 0x14]
0000301E 43EC 0032 lea.l A1, [A4 + 0x32]
00003022 22D8 move.l [A1]+, [A0]+
00003024 22D8 move.l [A1]+, [A0]+
00003026 486C 003A pea.l [A4 + 0x3A]
0000302A 4EAD 0BBA jsr [A5 + 0xBBA /* export_371 */]
0000302E 197C 0002 0A1C move.b [A4 + 0xA1C], 0x2
00003034 602C bra +0x2E /* 00003062 */
label00003036:
00003036 41EC 003A lea.l A0, [A4 + 0x3A]
0000303A 43EC 0032 lea.l A1, [A4 + 0x32]
0000303E 22D8 move.l [A1]+, [A0]+
00003040 22D8 move.l [A1]+, [A0]+
00003042 F23C 4800 3FFF 0000 8000 0000 0000 0000 fmove fp0, (extended) (extended)0x3FFF00008000000000000000
00003052 F22C 6800 008E fmove (extended) [A4 + 0x8E], fp0
00003058 4EAD 0B72 jsr [A5 + 0xB72 /* export_362 */]
0000305C 197C 0001 0A1C move.b [A4 + 0xA1C], 0x1
label00003062:
00003062 2F2C 009E move.l -[A7], [A4 + 0x9E]
00003066 3F2C 0040 move.w -[A7], [A4 + 0x40]
0000306A 3F2C 003E move.w -[A7], [A4 + 0x3E]
0000306E 1F3C 0001 move.b -[A7], 0x1
00003072 A91D syscall SizeWindow
00003074 4EAD 0AD2 jsr [A5 + 0xAD2 /* export_342 */]
00003078 4EAD 0ABA jsr [A5 + 0xABA /* export_339 */]
0000307C 3005 move.w D0, D5
0000307E E540 asl D0.w, 2
00003080 0640 9DF4 addi.w D0, 0x9DF4
00003084 2F35 0000 move.l -[A7], [A5 + D0.w]
00003088 3F04 move.w -[A7], D4
0000308A 3F03 move.w -[A7], D3
0000308C 1F3C 0001 move.b -[A7], 0x1
00003090 A91B syscall MoveWindow
00003092 D847 add.w D4, D7
00003094 5444 addq.w D4, 2
label00003096:
00003096 5245 addq.w D5, 1
00003098 6908 bvs +0xA /* 000030A2 */
label0000309A:
0000309A BA6E FBE6 cmp.w D5, [A6 - 0x41A]
0000309E 6F00 FF06 ble -0xF8 /* 00002FA6 */
label000030A2:
000030A2 422D DA12 clr.b [A5 - 0x25EE]
000030A6 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
000030AA 4E5E unlink A6
000030AC 4E75 rts
000030AE 5449 addq.w A1, 2
000030B0 4C45 5749 movem.l D0,D3,D6,A0,A1,A2,A4,A6, D5
000030B4 4E44 trap 4
export_207:
fn000030B6:
000030B6 4E56 FCDA link A6, -0x0326
000030BA 206E 0010 movea.l A0, [A6 + 0x10]
000030BE 43EE FCF0 lea.l A1, [A6 - 0x310]
000030C2 703F moveq.l D0, 0x3F
label000030C4:
000030C4 22D8 move.l [A1]+, [A0]+
000030C6 51C8 FFFC dbf D0, -0x6 /* 000030C4 */
000030CA 206E 000C movea.l A0, [A6 + 0xC]
000030CE 43EE FDF0 lea.l A1, [A6 - 0x210]
000030D2 703F moveq.l D0, 0x3F
label000030D4:
000030D4 22D8 move.l [A1]+, [A0]+
000030D6 51C8 FFFC dbf D0, -0x6 /* 000030D4 */
000030DA 206E 0008 movea.l A0, [A6 + 0x8]
000030DE 43EE FEF0 lea.l A1, [A6 - 0x110]
000030E2 703F moveq.l D0, 0x3F
label000030E4:
000030E4 22D8 move.l [A1]+, [A0]+
000030E6 51C8 FFFC dbf D0, -0x6 /* 000030E4 */
000030EA 486D DAC4 pea.l [A5 - 0x253C]
000030EE 486E FCF0 pea.l [A6 - 0x310]
000030F2 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
000030F6 661E bne +0x20 /* 00003116 */
000030F8 486D DAE4 pea.l [A5 - 0x251C]
000030FC 486E FDF0 pea.l [A6 - 0x210]
00003100 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
00003104 6610 bne +0x12 /* 00003116 */
00003106 486D DB04 pea.l [A5 - 0x24FC]
0000310A 486E FEF0 pea.l [A6 - 0x110]
0000310E 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
00003112 6700 00F0 beq +0xF2 /* 00003204 */
label00003116:
00003116 486E FCEC pea.l [A6 - 0x314]
0000311A A874 syscall GetPort
0000311C 2F2D 933C move.l -[A7], [A5 - 0x6CC4]
00003120 A873 syscall SetPort
00003122 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00003126 A88A syscall TextSize
00003128 3F3C 0004 move.w -[A7], 0x4
0000312C A887 syscall TextFont
0000312E 1D7C 0001 FCDA move.b [A6 - 0x326], 0x1
00003134 7000 moveq.l D0, 0x00
00003136 102E FCDA move.b D0, [A6 - 0x326]
0000313A 3F00 move.w -[A7], D0
0000313C A888 syscall TextFace
0000313E 7000 moveq.l D0, 0x00
00003140 102E FCF0 move.b D0, [A6 - 0x310]
00003144 4A40 tst.w D0
00003146 6F60 ble +0x62 /* 000031A8 */
00003148 3F3C 001F move.w -[A7], 0x1F
0000314C 486E FCF0 pea.l [A6 - 0x310]
00003150 486D DAC4 pea.l [A5 - 0x253C]
00003154 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00003158 554F subq.w A7, 2
0000315A 486D DAC4 pea.l [A5 - 0x253C]
0000315E A88C syscall StringWidth
00003160 301F move.w D0, [A7]+
00003162 5840 addq.w D0, 4
00003164 3B40 DB26 move.w [A5 - 0x24DA], D0
00003168 3F3C 001F move.w -[A7], 0x1F
0000316C 486E FDF0 pea.l [A6 - 0x210]
00003170 486D DAE4 pea.l [A5 - 0x251C]
00003174 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00003178 554F subq.w A7, 2
0000317A 486D DAE4 pea.l [A5 - 0x251C]
0000317E A88C syscall StringWidth
00003180 301F move.w D0, [A7]+
00003182 5840 addq.w D0, 4
00003184 3B40 DB28 move.w [A5 - 0x24D8], D0
00003188 3F3C 001F move.w -[A7], 0x1F
0000318C 486E FEF0 pea.l [A6 - 0x110]
00003190 486D DB04 pea.l [A5 - 0x24FC]
00003194 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00003198 554F subq.w A7, 2
0000319A 486D DB04 pea.l [A5 - 0x24FC]
0000319E A88C syscall StringWidth
000031A0 301F move.w D0, [A7]+
000031A2 5840 addq.w D0, 4
000031A4 3B40 DB2A move.w [A5 - 0x24D6], D0
label000031A8:
000031A8 486E FCE4 pea.l [A6 - 0x31C]
000031AC 4267 clr.w -[A7]
000031AE 4267 clr.w -[A7]
000031B0 3F3C 00C8 move.w -[A7], 0xC8
000031B4 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000031B8 A8A7 syscall SetRect
000031BA 486E FCE4 pea.l [A6 - 0x31C]
000031BE A8A3 syscall EraseRect
000031C0 3F3C 0004 move.w -[A7], 0x4
000031C4 3F3C 000B move.w -[A7], 0xB
000031C8 A893 syscall MoveTo
000031CA 486D DAC4 pea.l [A5 - 0x253C]
000031CE A884 syscall DrawString
000031D0 3F3C 0004 move.w -[A7], 0x4
000031D4 3F3C 0015 move.w -[A7], 0x15
000031D8 A893 syscall MoveTo
000031DA 486D DAE4 pea.l [A5 - 0x251C]
000031DE A884 syscall DrawString
000031E0 3F3C 0004 move.w -[A7], 0x4
000031E4 3F3C 001E move.w -[A7], 0x1E
000031E8 A893 syscall MoveTo
000031EA 486D DB04 pea.l [A5 - 0x24FC]
000031EE A884 syscall DrawString
000031F0 422E FCDA clr.b [A6 - 0x326]
000031F4 7000 moveq.l D0, 0x00
000031F6 102E FCDA move.b D0, [A6 - 0x326]
000031FA 3F00 move.w -[A7], D0
000031FC A888 syscall TextFace
000031FE 2F2E FCEC move.l -[A7], [A6 - 0x314]
00003202 A873 syscall SetPort
label00003204:
00003204 4E5E unlink A6
00003206 4E74 000C rtd 0x000C
0000320A 4452 neg.w [A2]
0000320C 4157 chk.w D0, [A7]
0000320E 4C41 4245 movem.l D0,D2,D6,A1,A6, D1
export_208:
00003212 4E56 FDD4 link A6, -0x022C
00003216 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000321A 206E 000A movea.l A0, [A6 + 0xA]
0000321E 43EE FEF0 lea.l A1, [A6 - 0x110]
00003222 703F moveq.l D0, 0x3F
label00003224:
00003224 22D8 move.l [A1]+, [A0]+
00003226 51C8 FFFC dbf D0, -0x6 /* 00003224 */
0000322A 422E 000E clr.b [A6 + 0xE]
0000322E 422D DA12 clr.b [A5 - 0x25EE]
00003232 102E 0008 move.b D0, [A6 + 0x8]
00003236 5300 subq.b D0, 1
00003238 2F00 move.l -[A7], D0
0000323A 554F subq.w A7, 2
0000323C 4EAD 0AFA jsr [A5 + 0xAFA /* export_347 */]
00003240 121F move.b D1, [A7]+
00003242 201F move.l D0, [A7]+
00003244 2F00 move.l -[A7], D0
00003246 2F01 move.l -[A7], D1
00003248 554F subq.w A7, 2
0000324A 4EAD 0B02 jsr [A5 + 0xB02 /* export_348 */]
0000324E 141F move.b D2, [A7]+
00003250 221F move.l D1, [A7]+
00003252 201F move.l D0, [A7]+
00003254 8202 or.b D1, D2
00003256 C001 and.b D0, D1
00003258 6600 014C bne +0x14E /* 000033A6 */
0000325C 206D 95CA movea.l A0, [A5 - 0x6A36]
00003260 1A28 006A move.b D5, [A0 + 0x6A]
00003264 5305 subq.b D5, 1
00003266 4405 neg.b D5
00003268 8A2E 0008 or.b D5, [A6 + 0x8]
0000326C 4A05 tst.b D5
0000326E 6706 beq +0x8 /* 00003276 */
00003270 4227 clr.b -[A7]
00003272 4EAD 0B3A jsr [A5 + 0xB3A /* export_355 */]
label00003276:
00003276 4EAD 0AB2 jsr [A5 + 0xAB2 /* export_338 */]
0000327A 266D 95CA movea.l A3, [A5 - 0x6A36]
0000327E 4A2E FEF0 tst.b [A6 - 0x110]
00003282 664A bne +0x4C /* 000032CE */
00003284 486E FDD4 pea.l [A6 - 0x22C]
00003288 487A 012E pea.l [PC + 0x12E /* 000033B8, value 0x8436F70, pstring "Copy of " */]
0000328C 486B 006C pea.l [A3 + 0x6C]
00003290 3F3C 0002 move.w -[A7], 0x2
00003294 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00003298 584F addq.w A7, 4
0000329A 3F3C 00FF move.w -[A7], 0xFF
0000329E 486E FDD4 pea.l [A6 - 0x22C]
000032A2 486E FEF0 pea.l [A6 - 0x110]
000032A6 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
000032AA 7000 moveq.l D0, 0x00
000032AC 102E FEF0 move.b D0, [A6 - 0x110]
000032B0 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
000032B4 6F18 ble +0x1A /* 000032CE */
000032B6 486E FEF0 pea.l [A6 - 0x110]
000032BA 3F3C 0021 move.w -[A7], 0x21 /* '!' */
000032BE 7000 moveq.l D0, 0x00
000032C0 102E FEF0 move.b D0, [A6 - 0x110]
000032C4 0640 FFE0 addi.w D0, 0xFFE0
000032C8 3F00 move.w -[A7], D0
000032CA 4EAD 0072 jsr [A5 + 0x72 /* export_10 */]
label000032CE:
000032CE 3E2B 002A move.w D7, [A3 + 0x2A]
000032D2 9E6B 0026 sub.w D7, [A3 + 0x26]
000032D6 3007 move.w D0, D7
000032D8 0240 0001 andi.w D0, 0x1
000032DC 56C0 sne D0
000032DE 322B 0026 move.w D1, [A3 + 0x26]
000032E2 D247 add.w D1, D7
000032E4 B26B 001A cmp.w D1, [A3 + 0x1A]
000032E8 5DC1 slt D1
000032EA C001 and.b D0, D1
000032EC 6702 beq +0x4 /* 000032F0 */
000032EE 5247 addq.w D7, 1
label000032F0:
000032F0 362B 0028 move.w D3, [A3 + 0x28]
000032F4 966B 0024 sub.w D3, [A3 + 0x24]
000032F8 3D6B 0026 FEEA move.w [A6 - 0x116], [A3 + 0x26]
000032FE 3D6B 0024 FEE8 move.w [A6 - 0x118], [A3 + 0x24]
00003304 4A05 tst.b D5
00003306 6704 beq +0x6 /* 0000330C */
00003308 4EAD 0AD2 jsr [A5 + 0xAD2 /* export_342 */]
label0000330C:
0000330C 2D6D 95CA FEE2 move.l [A6 - 0x11E], [A5 - 0x6A36]
00003312 554F subq.w A7, 2
00003314 486E FEF0 pea.l [A6 - 0x110]
00003318 3F07 move.w -[A7], D7
0000331A 3F03 move.w -[A7], D3
0000331C 4EAD 0B4A jsr [A5 + 0xB4A /* export_357 */]
00003320 4A1F tst.b [A7]+
00003322 6700 0082 beq +0x84 /* 000033A6 */
00003326 266E FEE2 movea.l A3, [A6 - 0x11E]
0000332A 302E FEE8 move.w D0, [A6 - 0x118]
0000332E 48C0 ext.l D0
00003330 322B 096E move.w D1, [A3 + 0x96E]
00003334 48C1 ext.l D1
00003336 4C01 0800 movem.w A3, D1
0000333A 322E FEEA move.w D1, [A6 - 0x116]
0000333E 48C1 ext.l D1
00003340 D081 add.l D0, D1
00003342 2D40 FED6 move.l [A6 - 0x12A], D0
00003346 2C2B 0008 move.l D6, [A3 + 0x8]
0000334A DCAE FED6 add.l D6, [A6 - 0x12A]
0000334E 206D 95CA movea.l A0, [A5 - 0x6A36]
00003352 2468 0008 movea.l A2, [A0 + 0x8]
00003356 3003 move.w D0, D3
00003358 5340 subq.w D0, 1
0000335A 3D40 FED2 move.w [A6 - 0x12E], D0
0000335E 4244 clr.w D4
00003360 6022 bra +0x24 /* 00003384 */
label00003362:
00003362 2F06 move.l -[A7], D6
00003364 2F0A move.l -[A7], A2
00003366 3007 move.w D0, D7
00003368 48C0 ext.l D0
0000336A 2F00 move.l -[A7], D0
0000336C 4EAD 0232 jsr [A5 + 0x232 /* export_66 */]
00003370 302B 096E move.w D0, [A3 + 0x96E]
00003374 48C0 ext.l D0
00003376 DC80 add.l D6, D0
00003378 3007 move.w D0, D7
0000337A 48C0 ext.l D0
0000337C D08A add.l D0, A2
0000337E 2440 movea.l A2, D0
00003380 5244 addq.w D4, 1
00003382 6906 bvs +0x8 /* 0000338A */
label00003384:
00003384 B86E FED2 cmp.w D4, [A6 - 0x12E]
00003388 6FD8 ble -0x26 /* 00003362 */
label0000338A:
0000338A 4A2E 0008 tst.b [A6 + 0x8]
0000338E 6710 beq +0x12 /* 000033A0 */
00003390 206D 95CA movea.l A0, [A5 - 0x6A36]
00003394 117C 0008 009C move.b [A0 + 0x9C], 0x8
0000339A 2B6D 95CA C876 move.l [A5 - 0x378A], [A5 - 0x6A36]
label000033A0:
000033A0 1D7C 0001 000E move.b [A6 + 0xE], 0x1
label000033A6:
000033A6 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000033AA 4E5E unlink A6
000033AC 4E74 0006 rtd 0x0006
000033B0 4455 neg.w [A5]
000033B2 504C addq.w A4, 8
000033B4 4943 chk.w D4, D3
000033B6 4154 chk.w D0, [A4]
000033B8 0843 6F70 bchg.b D3, 0x70 /* 'p' */
000033BC 7920 moveq.l D4, 0x20
000033BE 6F66 ble +0x68 /* 00003426 */
000033C0 2012 move.l D0, [A2]
export_209:
000033C2 4E56 FFE4 link A6, -0x001C
000033C6 2F0C move.l -[A7], A4
000033C8 486E FFEC pea.l [A6 - 0x14]
000033CC A874 syscall GetPort
000033CE 286D 95CA movea.l A4, [A5 - 0x6A36]
000033D2 2F2C 0010 move.l -[A7], [A4 + 0x10]
000033D6 A873 syscall SetPort
000033D8 486C 0014 pea.l [A4 + 0x14]
000033DC A8A4 syscall InvertRect
000033DE 2F2E FFEC move.l -[A7], [A6 - 0x14]
000033E2 A873 syscall SetPort
000033E4 285F movea.l A4, [A7]+
000033E6 4E5E unlink A6
000033E8 4E75 rts
000033EA 494E chk.w D4, A6
000033EC 5645 addq.w D5, 3
000033EE 5254 addq.w [A4], 1
000033F0 5049 addq.w A1, 8
export_210:
fn000033F2:
000033F2 4E56 FEF0 link A6, -0x0110
000033F6 206E 0008 movea.l A0, [A6 + 0x8]
000033FA 43EE FEF0 lea.l A1, [A6 - 0x110]
000033FE 703F moveq.l D0, 0x3F
label00003400:
00003400 22D8 move.l [A1]+, [A0]+
00003402 51C8 FFFC dbf D0, -0x6 /* 00003400 */
00003406 3F3C 00FF move.w -[A7], 0xFF
0000340A 486E FEF0 pea.l [A6 - 0x110]
0000340E 486D DDAC pea.l [A5 - 0x2254]
00003412 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00003416 4EBA DACC jsr [PC - 0x2534 /* 00000EE4 */]
0000341A 4E5E unlink A6
0000341C 4E74 0004 rtd 0x0004
00003420 5348 subq.w A0, 1
00003422 4F57 chk.w D7, [A7]
00003424 4D45 chk.w D6, D5
label00003426:
00003426 5353 subq.w [A3], 1
export_211:
00003428 4E56 FBC8 link A6, -0x0438
0000342C 2F07 move.l -[A7], D7
0000342E F227 E0C0 .fmovem 0xF227, 0xE0C0 // unimplemented
00003432 206E 0008 movea.l A0, [A6 + 0x8]
00003436 43EE FFE8 lea.l A1, [A6 - 0x18]
0000343A 22D8 move.l [A1]+, [A0]+
0000343C 22D8 move.l [A1]+, [A0]+
0000343E 3E2E FFEE move.w D7, [A6 - 0x12]
00003442 9E6E FFEA sub.w D7, [A6 - 0x16]
00003446 48C7 ext.l D7
00003448 302E FFEC move.w D0, [A6 - 0x14]
0000344C 906E FFE8 sub.w D0, [A6 - 0x18]
00003450 48C0 ext.l D0
00003452 4C00 7800 movem.w A3,A4,A5,A6, D0
00003456 2F07 move.l -[A7], D7
00003458 486E FEE4 pea.l [A6 - 0x11C]
0000345C 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00003460 594F subq.w A7, 4
00003462 A975 syscall TickCount
00003464 201F move.l D0, [A7]+
00003466 90AE 000C sub.l D0, [A6 + 0xC]
0000346A F200 4380 fmove fp7, (int32_t) D0
0000346E F23C 4BA0 4004 0000 F000 0000 0000 0000 fdiv fp7, (extended) (extended)0x40040000F000000000000000
0000347E F22E 6B80 FCC0 fmove (extended) [A6 - 0x340], fp7
00003484 486E FCC0 pea.l [A6 - 0x340]
00003488 3F3C 0001 move.w -[A7], 0x1
0000348C 3F3C 0002 move.w -[A7], 0x2
00003490 486E FDE4 pea.l [A6 - 0x21C]
00003494 4EAD 08C2 jsr [A5 + 0x8C2 /* export_276 */]
00003498 F23C 4BB8 0000 0000 0000 0000 0000 0000 fcmp fp7, (extended) (extended)0x000000000000000000000000
000034A8 F281 000C .extension 0x281 <<F/2-3/1>> // unimplemented
000034AC F207 4300 fmove fp6, (int32_t) D7
000034B0 F200 1F20 .fmovecr 0xF200, 0x1F20 // unimplemented
000034B4 6010 bra +0x12 /* 000034C6 */
000034B6 F23C 4B00 0000 0000 0000 0000 0000 0000 fmove fp6, (extended) (extended)0x000000000000000000000000
label000034C6:
000034C6 594F subq.w A7, 4
000034C8 F22E 6B00 FCC0 fmove (extended) [A6 - 0x340], fp6
000034CE 486E FCC0 pea.l [A6 - 0x340]
000034D2 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000034D6 486E FCE4 pea.l [A6 - 0x31C]
000034DA 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
000034DE 486E FBCC pea.l [A6 - 0x434]
000034E2 486E FEE4 pea.l [A6 - 0x11C]
000034E6 487A 0072 pea.l [PC + 0x72 /* 0000355A, value 0x8207069, pstring " pixels " */]
000034EA 303C 0100 move.w D0, 0x100
000034EE 102D 9351 move.b D0, [A5 - 0x6CAF]
000034F2 3D40 FBCA move.w [A6 - 0x436], D0
000034F6 486E FBCA pea.l [A6 - 0x436]
000034FA 486E FDE4 pea.l [A6 - 0x21C]
000034FE 487A 0050 pea.l [PC + 0x50 /* 00003550, value 0x8207365, pstring " seconds" */]
00003502 303C 0100 move.w D0, 0x100
00003506 102D 9351 move.b D0, [A5 - 0x6CAF]
0000350A 3D40 FBC8 move.w [A6 - 0x438], D0
0000350E 486E FBC8 pea.l [A6 - 0x438]
00003512 486E FCE4 pea.l [A6 - 0x31C]
00003516 487A 0028 pea.l [PC + 0x28 /* 00003540, value 0xE207069, pstring " pixels/second" */]
0000351A 3F3C 0008 move.w -[A7], 0x8
0000351E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00003522 584F addq.w A7, 4
00003524 486E FBCC pea.l [A6 - 0x434]
00003528 4EBA FEC8 jsr [PC - 0x138 /* 000033F2 */]
0000352C F21F D003 .fmovem 0xF21F, 0xD003 // unimplemented
00003530 2E1F move.l D7, [A7]+
00003532 4E5E unlink A6
00003534 4E74 0008 rtd 0x0008
00003538 5348 subq.w A0, 1
0000353A 4F57 chk.w D7, [A7]
0000353C 5449 addq.w A1, 2
0000353E 4D45 chk.w D6, D5
00003540 0E20 7069 .invalid.b -[A0], 0x69 /* 'i' */ // invalid immediate operation
00003544 7865 moveq.l D4, 0x65
00003546 6C73 bge +0x75 /* 000035BB */
00003548 2F73 6563 6F6E 6416 0820 7365 move.l [A7 + 0x7365], [[A3 + 0x6F6E] + 0x64160820]
00003554 636F bls +0x71 /* 000035C5 */
00003556 6E64 bgt +0x66 /* 000035BC */
00003558 7312 moveq.l D1, 0x12
0000355A 0820 7069 btst.b -[A0], 0x69 /* 'i' */
0000355E 7865 moveq.l D4, 0x65
00003560 6C73 bge +0x75 /* 000035D5 */
00003562 2012 move.l D0, [A2]
export_212:
00003564 4E56 FCE4 link A6, -0x031C
00003568 F227 E080 .fmovem 0xF227, 0xE080 // unimplemented
0000356C 206E 0010 movea.l A0, [A6 + 0x10]
00003570 43EE FEF0 lea.l A1, [A6 - 0x110]
00003574 703F moveq.l D0, 0x3F
label00003576:
00003576 22D8 move.l [A1]+, [A0]+
00003578 51C8 FFFC dbf D0, -0x6 /* 00003576 */
0000357C 594F subq.w A7, 4
0000357E A975 syscall TickCount
00003580 201F move.l D0, [A7]+
00003582 90AE 000C sub.l D0, [A6 + 0xC]
00003586 F200 4380 fmove fp7, (int32_t) D0
0000358A F23C 4BA0 4004 0000 F000 0000 0000 0000 fdiv fp7, (extended) (extended)0x40040000F000000000000000
0000359A F23C 4BB8 0000 0000 0000 0000 0000 0000 fcmp fp7, (extended) (extended)0x000000000000000000000000
000035AA F28E 0012 .extension 0x28E <<F/2-3/1>> // unimplemented
000035AE F23C 4B80 3FFC 0000 AB02 0C49 BA5E 353F fmove fp7, (extended) (extended)0x3FFC0000AB020C49BA5E353F
// begin alternate branch 000035BC-000035BE
label000035BC:
000035BC 353F move.w -[A2], <<invalid special address>>
// end alternate branch 000035BC-000035BE
label000035BC: // (misaligned)
000035BE F22E 4000 0008 fmove fp0, (int32_t) [A6 + 0x8]
000035C4 F200 1C20 .fmovecr 0xF200, 0x1C20 // unimplemented
000035C8 F22E 6800 FDD8 fmove (extended) [A6 - 0x228], fp0
000035CE 486E FDD8 pea.l [A6 - 0x228]
000035D2 3F3C 0001 move.w -[A7], 0x1
000035D6 3F3C 0002 move.w -[A7], 0x2
000035DA 486E FDE4 pea.l [A6 - 0x21C]
000035DE 4EAD 08C2 jsr [A5 + 0x8C2 /* export_276 */]
000035E2 486E FCE4 pea.l [A6 - 0x31C]
000035E6 486E FEF0 pea.l [A6 - 0x110]
000035EA 486E FDE4 pea.l [A6 - 0x21C]
000035EE 487A 0026 pea.l [PC + 0x26 /* 00003616, value 0xE206672, pstring " frames/second" */]
000035F2 3F3C 0003 move.w -[A7], 0x3
000035F6 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000035FA 584F addq.w A7, 4
000035FC 486E FCE4 pea.l [A6 - 0x31C]
00003600 4EBA FDF0 jsr [PC - 0x210 /* 000033F2 */]
00003604 F21F D001 .fmovem 0xF21F, 0xD001 // unimplemented
00003608 4E5E unlink A6
0000360A 4E74 000C rtd 0x000C
0000360E 5348 subq.w A0, 1
00003610 4F57 chk.w D7, [A7]
00003612 4652 not.w [A2]
00003614 414D chk.w D0, A5
00003616 0E20 6672 .invalid.b -[A0], 0x72 /* 'r' */ // invalid immediate operation
0000361A 616D bsr +0x6F /* 00003689 */
0000361C 6573 bcs +0x75 /* 00003691 */
0000361E 2F73 6563 6F6E 6416 4E56 FEF0 move.l [A7 - 0x110], [[A3 + 0x6F6E] + 0x64164E56]
export_213: // at 00003626 (misaligned)
0000362A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000362E 486E FEF0 pea.l [A6 - 0x110]
00003632 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00003636 206E 000C movea.l A0, [A6 + 0xC]
0000363A 3F3C 00FF move.w -[A7], 0xFF
0000363E 486E FEF0 pea.l [A6 - 0x110]
00003642 2F08 move.l -[A7], A0
00003644 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00003648 4E5E unlink A6
0000364A 4E74 0004 rtd 0x0004
0000364E 4C4F 4E47 movem.l D0,D1,D2,D6,A1,A2,A3,A6, A7
00003652 3253 movea.w A1, [A3]
00003654 5452 addq.w [A2], 2
export_214:
00003656 4E56 FFEC link A6, -0x0014
0000365A 48E7 0300 movem.l -[A7], D6,D7
0000365E 554F subq.w A7, 2
00003660 4EBA E624 jsr [PC - 0x19DC /* 00001C86 */]
00003664 1C1F move.b D6, [A7]+
00003666 426D C888 clr.w [A5 - 0x3778]
0000366A 4247 clr.w D7
label0000366C:
0000366C 4A06 tst.b D6
0000366E 671A beq +0x1C /* 0000368A */
00003670 303C 00FF move.w D0, 0xFF
00003674 9047 sub.w D0, D7
00003676 E540 asl D0.w, 2
00003678 0640 A1EC addi.w D0, 0xA1EC
0000367C 2F35 0000 move.l -[A7], [A5 + D0.w]
00003680 3F3C 0001 move.w -[A7], 0x1
00003684 4EAD 0A9A jsr [A5 + 0xA9A /* export_335 */]
00003688 6014 bra +0x16 /* 0000369E */
label0000368A:
0000368A 3007 move.w D0, D7
0000368C E540 asl D0.w, 2
0000368E 0640 A1EC addi.w D0, 0xA1EC
00003692 2F35 0000 move.l -[A7], [A5 + D0.w]
00003696 3F3C 0001 move.w -[A7], 0x1
0000369A 4EAD 0A9A jsr [A5 + 0xA9A /* export_335 */]
label0000369E:
0000369E 0C47 00FF cmpi.w D7, 0xFF
000036A2 6708 beq +0xA /* 000036AC */
000036A4 3F2D 9350 move.w -[A7], [A5 - 0x6CB0]
000036A8 4EAD 0A8A jsr [A5 + 0xA8A /* export_333 */]
label000036AC:
000036AC 5247 addq.w D7, 1
000036AE 0C47 00FF cmpi.w D7, 0xFF
000036B2 6FB8 ble -0x46 /* 0000366C */
000036B4 4CDF 00C0 movem.l D6,D7, [A7]+
000036B8 4E5E unlink A6
000036BA 4E75 rts
000036BC 434F chk.w D1, A7
000036BE 4E56 4552 link A6, -0xFFFFBAAE
000036C2 5448 addq.w A0, 2
export_215:
000036C4 4E56 FFEC link A6, -0x0014
000036C8 2F07 move.l -[A7], D7
000036CA 426D C888 clr.w [A5 - 0x3778]
000036CE 302D A65E move.w D0, [A5 - 0x59A2]
000036D2 5340 subq.w D0, 1
000036D4 3D40 FFEC move.w [A6 - 0x14], D0
000036D8 4247 clr.w D7
000036DA 6056 bra +0x58 /* 00003732 */
label000036DC:
000036DC 206D 95CA movea.l A0, [A5 - 0x6A36]
000036E0 4A28 0A1A tst.b [A0 + 0xA1A]
000036E4 6724 beq +0x26 /* 0000370A */
000036E6 206D A662 movea.l A0, [A5 - 0x599E]
000036EA 7000 moveq.l D0, 0x00
000036EC 1030 7000 move.b D0, [A0 + D7.w]
000036F0 C1FC 000C muls.w D0, 0xC
000036F4 0640 CDDA addi.w D0, 0xCDDA
000036F8 4875 0000 pea.l [A5 + D0.w]
000036FC 3F3C 0001 move.w -[A7], 0x1
00003700 3F3C 0003 move.w -[A7], 0x3
00003704 4EAD 0A92 jsr [A5 + 0xA92 /* export_334 */]
00003708 6016 bra +0x18 /* 00003720 */
label0000370A:
0000370A 206D A662 movea.l A0, [A5 - 0x599E]
0000370E 7000 moveq.l D0, 0x00
00003710 1030 7000 move.b D0, [A0 + D7.w]
00003714 48C0 ext.l D0
00003716 2F00 move.l -[A7], D0
00003718 3F3C 0001 move.w -[A7], 0x1
0000371C 4EAD 0A9A jsr [A5 + 0xA9A /* export_335 */]
label00003720:
00003720 BE6D A65E cmp.w D7, [A5 - 0x59A2]
00003724 6708 beq +0xA /* 0000372E */
00003726 3F2D 9350 move.w -[A7], [A5 - 0x6CB0]
0000372A 4EAD 0A8A jsr [A5 + 0xA8A /* export_333 */]
label0000372E:
0000372E 5247 addq.w D7, 1
00003730 6906 bvs +0x8 /* 00003738 */
label00003732:
00003732 BE6E FFEC cmp.w D7, [A6 - 0x14]
00003736 6FA4 ble -0x5A /* 000036DC */
label00003738:
00003738 2E1F move.l D7, [A7]+
0000373A 4E5E unlink A6
0000373C 4E75 rts
0000373E 434F chk.w D1, A7
00003740 4E56 4552 link A6, -0xFFFFBAAE
00003744 5450 addq.w [A0], 2
export_216:
00003746 4E56 FFEE link A6, -0x0012
0000374A 2F07 move.l -[A7], D7
0000374C 426D C888 clr.w [A5 - 0x3778]
00003750 4247 clr.w D7
label00003752:
00003752 3007 move.w D0, D7
00003754 C1FC 000C muls.w D0, 0xC
00003758 0640 CDDA addi.w D0, 0xCDDA
0000375C 4875 0000 pea.l [A5 + D0.w]
00003760 3F3C 0001 move.w -[A7], 0x1
00003764 3F3C 0003 move.w -[A7], 0x3
00003768 4EAD 0A92 jsr [A5 + 0xA92 /* export_334 */]
0000376C 0C47 00FF cmpi.w D7, 0xFF
00003770 6708 beq +0xA /* 0000377A */
00003772 3F2D 9350 move.w -[A7], [A5 - 0x6CB0]
00003776 4EAD 0A8A jsr [A5 + 0xA8A /* export_333 */]
label0000377A:
0000377A 5247 addq.w D7, 1
0000377C 0C47 00FF cmpi.w D7, 0xFF
00003780 6FD0 ble -0x2E /* 00003752 */
00003782 2E1F move.l D7, [A7]+
00003784 4E5E unlink A6
00003786 4E75 rts
00003788 434F chk.w D1, A7
0000378A 4E56 4552 link A6, -0xFFFFBAAE
0000378E 5443 addq.w D3, 2
export_217:
00003790 4E56 0000 link A6, 0
00003794 48E7 0038 movem.l -[A7], A2,A3,A4
00003798 286D B0CA movea.l A4, [A5 - 0x4F36]
0000379C 206D 95CA movea.l A0, [A5 - 0x6A36]
000037A0 3968 0002 0002 move.w [A4 + 0x2], [A0 + 0x2]
000037A6 206D 95CA movea.l A0, [A5 - 0x6A36]
000037AA 3968 0002 096E move.w [A4 + 0x96E], [A0 + 0x2]
000037B0 206D 95CA movea.l A0, [A5 - 0x6A36]
000037B4 3890 move.w [A4], [A0]
000037B6 206D 95CA movea.l A0, [A5 - 0x6A36]
000037BA 2968 0004 0970 move.l [A4 + 0x970], [A0 + 0x4]
000037C0 206D 95CA movea.l A0, [A5 - 0x6A36]
000037C4 41E8 001C lea.l A0, [A0 + 0x1C]
000037C8 43EC 001C lea.l A1, [A4 + 0x1C]
000037CC 22D8 move.l [A1]+, [A0]+
000037CE 22D8 move.l [A1]+, [A0]+
000037D0 206D 95CA movea.l A0, [A5 - 0x6A36]
000037D4 41E8 0024 lea.l A0, [A0 + 0x24]
000037D8 43EC 0024 lea.l A1, [A4 + 0x24]
000037DC 22D8 move.l [A1]+, [A0]+
000037DE 22D8 move.l [A1]+, [A0]+
000037E0 206D 95CA movea.l A0, [A5 - 0x6A36]
000037E4 2F28 002C move.l -[A7], [A0 + 0x2C]
000037E8 2F2C 002C move.l -[A7], [A4 + 0x2C]
000037EC A8DC syscall CopyRgn
000037EE 206D 95CA movea.l A0, [A5 - 0x6A36]
000037F2 1968 0030 0030 move.b [A4 + 0x30], [A0 + 0x30]
000037F8 206D 95CA movea.l A0, [A5 - 0x6A36]
000037FC 41E8 0014 lea.l A0, [A0 + 0x14]
00003800 43EC 0014 lea.l A1, [A4 + 0x14]
00003804 22D8 move.l [A1]+, [A0]+
00003806 22D8 move.l [A1]+, [A0]+
00003808 266C 0010 movea.l A3, [A4 + 0x10]
0000380C 206B 0002 movea.l A0, [A3 + 0x2]
00003810 2450 movea.l A2, [A0]
00003812 302C 0002 move.w D0, [A4 + 0x2]
00003816 0040 8000 ori.w D0, 0x8000
0000381A 3540 0004 move.w [A2 + 0x4], D0
0000381E 41EC 0014 lea.l A0, [A4 + 0x14]
00003822 43EA 0006 lea.l A1, [A2 + 0x6]
00003826 22D8 move.l [A1]+, [A0]+
00003828 22D8 move.l [A1]+, [A0]+
0000382A 41EC 0014 lea.l A0, [A4 + 0x14]
0000382E 43EB 0010 lea.l A1, [A3 + 0x10]
00003832 22D8 move.l [A1]+, [A0]+
00003834 22D8 move.l [A1]+, [A0]+
00003836 2F2B 0018 move.l -[A7], [A3 + 0x18]
0000383A 486C 0014 pea.l [A4 + 0x14]
0000383E A8DF syscall RectRgn
00003840 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00003844 4E5E unlink A6
00003846 4E75 rts
00003848 5345 subq.w D5, 1
0000384A 5455 addq.w [A5], 2
0000384C 5055 addq.w [A5], 8
0000384E 4E44 trap 4
export_218:
00003850 4E56 FFD0 link A6, -0x0030
00003854 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00003858 554F subq.w A7, 2
0000385A 4EAD 0AFA jsr [A5 + 0xAFA /* export_347 */]
0000385E 4A1F tst.b [A7]+
00003860 6600 0148 bne +0x14A /* 000039AA */
00003864 4EAD 0AB2 jsr [A5 + 0xAB2 /* export_338 */]
00003868 206D 95CA movea.l A0, [A5 - 0x6A36]
0000386C 49E8 0024 lea.l A4, [A0 + 0x24]
00003870 266D 95CA movea.l A3, [A5 - 0x6A36]
00003874 302C 0006 move.w D0, [A4 + 0x6]
00003878 906C 0002 sub.w D0, [A4 + 0x2]
0000387C 3D40 FFEA move.w [A6 - 0x16], D0
00003880 382C 0004 move.w D4, [A4 + 0x4]
00003884 9854 sub.w D4, [A4]
00003886 4A6E FFEA tst.w [A6 - 0x16]
0000388A 57C0 seq D0
0000388C 4A44 tst.w D4
0000388E 57C1 seq D1
00003890 8001 or.b D0, D1
00003892 6600 0116 bne +0x118 /* 000039AA */
00003896 486E FFDE pea.l [A6 - 0x22]
0000389A A874 syscall GetPort
0000389C 2F2B 0010 move.l -[A7], [A3 + 0x10]
000038A0 A873 syscall SetPort
000038A2 A89E syscall PenNormal
000038A4 1B7C 0001 DA12 move.b [A5 - 0x25EE], 0x1
000038AA 4EAD 0AEA jsr [A5 + 0xAEA /* export_345 */]
000038AE 4EAD 0AE2 jsr [A5 + 0xAE2 /* export_344 */]
000038B2 3D6D A5F0 FFE6 move.w [A6 - 0x1A], [A5 - 0x5A10]
000038B8 4A2B 016C tst.b [A3 + 0x16C]
000038BC 6614 bne +0x16 /* 000038D2 */
000038BE 3A2B 00A6 move.w D5, [A3 + 0xA6]
000038C2 CBEB 016A muls.w D5, [A3 + 0x16A]
000038C6 363C 00FF move.w D3, 0xFF
000038CA 966B 0168 sub.w D3, [A3 + 0x168]
000038CE 9645 sub.w D3, D5
000038D0 6006 bra +0x8 /* 000038D8 */
label000038D2:
000038D2 7601 moveq.l D3, 0x01
000038D4 3A3C 00FE move.w D5, 0xFE
label000038D8:
000038D8 B86E FFEA cmp.w D4, [A6 - 0x16]
000038DC 6E5E bgt +0x60 /* 0000393C */
000038DE 302C 0006 move.w D0, [A4 + 0x6]
000038E2 5340 subq.w D0, 1
000038E4 3D40 FFDC move.w [A6 - 0x24], D0
000038E8 3C2C 0002 move.w D6, [A4 + 0x2]
000038EC 6046 bra +0x48 /* 00003934 */
label000038EE:
000038EE 594F subq.w A7, 4
000038F0 3006 move.w D0, D6
000038F2 906C 0002 sub.w D0, [A4 + 0x2]
000038F6 F200 5000 fmove fp0, (int16_t) D0
000038FA F22E 5020 FFEA fdiv fp0, (int16_t) [A6 - 0x16]
00003900 F205 5023 fmul fp0, (int16_t) D5
00003904 F22E 6800 FFD0 fmove (extended) [A6 - 0x30], fp0
0000390A 486E FFD0 pea.l [A6 - 0x30]
0000390E 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00003912 3003 move.w D0, D3
00003914 48C0 ext.l D0
00003916 D09F add.l D0, [A7]+
00003918 3F00 move.w -[A7], D0
0000391A 4EAD 09E2 jsr [A5 + 0x9E2 /* export_312 */]
0000391E 3F06 move.w -[A7], D6
00003920 3F14 move.w -[A7], [A4]
00003922 A893 syscall MoveTo
00003924 3F06 move.w -[A7], D6
00003926 302C 0004 move.w D0, [A4 + 0x4]
0000392A 5340 subq.w D0, 1
0000392C 3F00 move.w -[A7], D0
0000392E A891 syscall LineTo
00003930 5246 addq.w D6, 1
00003932 6960 bvs +0x62 /* 00003994 */
label00003934:
00003934 BC6E FFDC cmp.w D6, [A6 - 0x24]
00003938 6FB4 ble -0x4A /* 000038EE */
0000393A 6058 bra +0x5A /* 00003994 */
label0000393C:
0000393C 302C 0004 move.w D0, [A4 + 0x4]
00003940 5340 subq.w D0, 1
00003942 3D40 FFDC move.w [A6 - 0x24], D0
00003946 3E14 move.w D7, [A4]
00003948 6044 bra +0x46 /* 0000398E */
label0000394A:
0000394A 594F subq.w A7, 4
0000394C 3007 move.w D0, D7
0000394E 9054 sub.w D0, [A4]
00003950 F200 5000 fmove fp0, (int16_t) D0
00003954 F204 5020 fdiv fp0, (int16_t) D4
00003958 F205 5023 fmul fp0, (int16_t) D5
0000395C F22E 6800 FFD0 fmove (extended) [A6 - 0x30], fp0
00003962 486E FFD0 pea.l [A6 - 0x30]
00003966 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
0000396A 3003 move.w D0, D3
0000396C 48C0 ext.l D0
0000396E D09F add.l D0, [A7]+
00003970 3F00 move.w -[A7], D0
00003972 4EAD 09E2 jsr [A5 + 0x9E2 /* export_312 */]
00003976 3F2C 0002 move.w -[A7], [A4 + 0x2]
0000397A 3F07 move.w -[A7], D7
0000397C A893 syscall MoveTo
0000397E 302C 0006 move.w D0, [A4 + 0x6]
00003982 5340 subq.w D0, 1
00003984 3F00 move.w -[A7], D0
00003986 3F07 move.w -[A7], D7
00003988 A891 syscall LineTo
0000398A 5247 addq.w D7, 1
0000398C 6906 bvs +0x8 /* 00003994 */
label0000398E:
0000398E BE6E FFDC cmp.w D7, [A6 - 0x24]
00003992 6FB6 ble -0x48 /* 0000394A */
label00003994:
00003994 3B6E FFE6 A5F0 move.w [A5 - 0x5A10], [A6 - 0x1A]
0000399A 2F2E FFDE move.l -[A7], [A6 - 0x22]
0000399E A873 syscall SetPort
000039A0 177C 0001 00A5 move.b [A3 + 0xA5], 0x1
000039A6 4EAD 0B9A jsr [A5 + 0xB9A /* export_367 */]
label000039AA:
000039AA 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
000039AE 4E5E unlink A6
000039B0 4E75 rts
000039B2 4452 neg.w [A2]
000039B4 4157 chk.w D0, [A7]
000039B6 5343 subq.w D3, 1
000039B8 414C chk.w D0, A4